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

Clarify comment on is_url and hs_url handling
This commit is contained in:
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

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