mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Update to new API from matrix-react-sdk#5483 (#15942)
This commit is contained in:
parent
7da72b219b
commit
e0e29996e0
@ -236,7 +236,7 @@ async function verifyServerConfig() {
|
|||||||
|
|
||||||
validatedConfig = AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, discoveryResult, true);
|
validatedConfig = AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, discoveryResult, true);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const {hsUrl, isUrl, userId} = Lifecycle.getLocalStorageSessionVars();
|
const {hsUrl, isUrl, userId} = await Lifecycle.getStoredSessionVars();
|
||||||
if (hsUrl && userId) {
|
if (hsUrl && userId) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
console.warn("A session was found - suppressing config error and using the session's homeserver");
|
console.warn("A session was found - suppressing config error and using the session's homeserver");
|
||||||
|
Loading…
Reference in New Issue
Block a user