From e0e29996e0ee61013d8a1ec6b65683980f0147f8 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 15 Dec 2020 12:57:17 -0500 Subject: [PATCH] Update to new API from matrix-react-sdk#5483 (#15942) --- src/vector/app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/app.tsx b/src/vector/app.tsx index 63dd0f6ad2..61eef52215 100644 --- a/src/vector/app.tsx +++ b/src/vector/app.tsx @@ -236,7 +236,7 @@ async function verifyServerConfig() { validatedConfig = AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, discoveryResult, true); } catch (e) { - const {hsUrl, isUrl, userId} = Lifecycle.getLocalStorageSessionVars(); + const {hsUrl, isUrl, userId} = await Lifecycle.getStoredSessionVars(); if (hsUrl && userId) { console.error(e); console.warn("A session was found - suppressing config error and using the session's homeserver");