Hide screenshare button in video rooms on Desktop (#22810)

* Hide screenshare button in video rooms on Desktop

* Splice the screensharing button into the array
This commit is contained in:
Robin 2022-07-12 08:23:53 -04:00 committed by GitHub
parent a271516c8b
commit 796aeff168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 3 deletions

View file

@ -324,6 +324,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
return true;
}
public supportsJitsiScreensharing(): boolean {
// See https://github.com/vector-im/element-web/issues/4880
return false;
}
public async getAvailableSpellCheckLanguages(): Promise<string[]> {
return this.ipc.call('getAvailableSpellCheckLanguages');
}