chore: delete unused screencast hacks (#3964)

This commit is contained in:
Yury Semikhatsky 2020-09-24 12:16:24 -07:00 committed by GitHub
parent 76d08cefc2
commit 989709b102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;