Merge pull request #9719 from vector-im/travis/wk/clarify_is_hs_url

Clarify comment on is_url and hs_url handling
pull/9779/head
Travis Ralston 2019-05-16 08:41:34 -06:00 committed by GitHub
commit 51f56719c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -449,8 +449,9 @@ async function loadLanguage() {
async function verifyServerConfig() {
console.log("Verifying homeserver configuration");
// TODO: TravisR - Handle query string arguments for hs_url and is_url
// We probably don't want to handle them unless the user is logged out though?
// Note: the query string may include is_url and hs_url - we only respect these in the
// context of email validation. Because we don't respect them otherwise, we do not need
// to parse or consider them here.
const config = SdkConfig.get();
let wkConfig = config['default_server_config']; // overwritten later under some conditions