From 68a7550080ca23af23e359ebc17775ec27c2e53d Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 14 May 2019 13:05:26 -0600 Subject: [PATCH] Flag the validated config as the default config For use in the rest of the app. See https://github.com/vector-im/riot-web/issues/9290 --- src/vector/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vector/index.js b/src/vector/index.js index 9c5eb061ac..954f98b2cc 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -497,6 +497,7 @@ async function verifyServerConfig() { } const validatedConfig = AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, result); + validatedConfig.isDefault = true; // Just in case we ever have to debug this console.log("Using homeserver config:", validatedConfig);