chore: delete unused screencast hacks (#3964)
This commit is contained in:
parent
76d08cefc2
commit
989709b102
|
|
@ -48,7 +48,7 @@ export abstract class ChannelOwner<T extends channels.Channel = channels.Channel
|
|||
const base = new EventEmitter();
|
||||
this._channel = new Proxy(base, {
|
||||
get: (obj: any, prop) => {
|
||||
if (String(prop).startsWith('_') && String(prop) !== '_enableScreencast' && String(prop) !== '_disableScreencast')
|
||||
if (String(prop).startsWith('_'))
|
||||
return obj[prop];
|
||||
if (prop === 'then')
|
||||
return obj.then;
|
||||
|
|
|
|||
Loading…
Reference in a new issue