1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Added getAvailableSpellCheckLanguages() methods

This commit is contained in:
Šimon Brandner
2020-11-29 20:46:47 +01:00
parent ead00dcded
commit 38080c5b2b
2 changed files with 9 additions and 0 deletions

View File

@@ -237,6 +237,10 @@ export default abstract class BasePlatform {
setLanguage(preferredLangs: string[]) {}
getAvailableSpellCheckLanguages(): Promise<string[]> | null {
return null;
}
protected getSSOCallbackUrl(fragmentAfterLogin: string): URL {
const url = new URL(window.location.href);
url.hash = fragmentAfterLogin || "";