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

Flag the validated config as the default config
pull/9779/head
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
1 changed files with 1 additions and 0 deletions

View File

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