Merge pull request #9721 from vector-im/travis/wk/fallback_hs

Flag the validated config as the default config
This commit is contained in:
Travis Ralston 2019-05-16 12:47:01 -06:00 committed by GitHub
commit 39d1293350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,6 +498,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);