We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7633009 commit 6a5268fCopy full SHA for 6a5268f
src/vector/init.tsx
@@ -46,12 +46,12 @@ export function preparePlatform() {
46
}
47
48
49
-export async function loadConfig(): Promise<Error | void> {
+export async function loadConfig() {
50
// XXX: We call this twice, once here and once in MatrixChat as a prop. We call it here to ensure
51
// granular settings are loaded correctly and to avoid duplicating the override logic for the theme.
52
//
53
// Note: this isn't called twice for some wrappers, like the Jitsi wrapper.
54
- SdkConfig.put(PlatformPeg.get().getConfig() || {});
+ SdkConfig.put(await PlatformPeg.get().getConfig() || {});
55
56
57
export function loadOlm(): Promise<void> {
0 commit comments