mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Switch to IPC channel for getDesktopCapturerSources
(#21042)
This commit is contained in:
parent
d4a019b27a
commit
42416021ad
1 changed files with 8 additions and 0 deletions
|
@ -550,6 +550,14 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
return this.ipcCall('getSpellCheckLanguages');
|
||||
}
|
||||
|
||||
async getDesktopCapturerSources(options: GetSourcesOptions): Promise<Array<DesktopCapturerSource>> {
|
||||
return this.ipcCall('getDesktopCapturerSources', options);
|
||||
}
|
||||
|
||||
supportsDesktopCapturer(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
async getAvailableSpellCheckLanguages(): Promise<string[]> {
|
||||
return this.ipcCall('getAvailableSpellCheckLanguages');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue