loadOlm earlier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
ee5d39a001
commit
0b032d7434
2 changed files with 8 additions and 6 deletions
|
@ -40,7 +40,7 @@ import SdkConfig from "matrix-react-sdk/src/SdkConfig";
|
|||
import {setTheme} from "matrix-react-sdk/src/theme";
|
||||
|
||||
import CallHandler from 'matrix-react-sdk/src/CallHandler';
|
||||
import {loadConfig, preparePlatform, loadLanguage, loadOlm} from "./init";
|
||||
import {loadConfig, preparePlatform, loadLanguage} from "./init";
|
||||
|
||||
let lastLocationHashSet = null;
|
||||
|
||||
|
@ -144,8 +144,6 @@ export async function loadApp(fragParams: {}, acceptBrowser: boolean) {
|
|||
|
||||
window.addEventListener('hashchange', onHashChange);
|
||||
|
||||
await loadOlm();
|
||||
|
||||
// set the platform for react sdk
|
||||
preparePlatform();
|
||||
const platform = PlatformPeg.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue