From a8a422105b3f7294753692d15f1a0bc3aa82bbaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sun, 29 Nov 2020 20:52:19 +0100 Subject: [PATCH] Added getAvailableSpellCheckLanguages() method --- src/vector/platform/ElectronPlatform.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 48fce17150..b14c0cfa98 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -496,6 +496,10 @@ export default class ElectronPlatform extends VectorBasePlatform { }); } + async getAvailableSpellCheckLanguages(): Promise { + return this._ipcCall('getAvailableSpellCheckLanguages'); + } + getSSOCallbackUrl(fragmentAfterLogin: string): URL { const url = super.getSSOCallbackUrl(fragmentAfterLogin); url.protocol = "element";