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
This commit is contained in:
parent
886828caa8
commit
68a7550080
1 changed files with 1 additions and 0 deletions
|
@ -497,6 +497,7 @@ async function verifyServerConfig() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const validatedConfig = AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, result);
|
const validatedConfig = AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, result);
|
||||||
|
validatedConfig.isDefault = true;
|
||||||
|
|
||||||
// Just in case we ever have to debug this
|
// Just in case we ever have to debug this
|
||||||
console.log("Using homeserver config:", validatedConfig);
|
console.log("Using homeserver config:", validatedConfig);
|
||||||
|
|
Loading…
Reference in a new issue