diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 797e78c40c..23bf7982eb 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -550,6 +550,14 @@ export default class ElectronPlatform extends VectorBasePlatform { return this.ipcCall('getSpellCheckLanguages'); } + async getDesktopCapturerSources(options: GetSourcesOptions): Promise> { + return this.ipcCall('getDesktopCapturerSources', options); + } + + supportsDesktopCapturer(): boolean { + return true; + } + async getAvailableSpellCheckLanguages(): Promise { return this.ipcCall('getAvailableSpellCheckLanguages'); }