From d668f97c9809dc1498828fcfe489403a99a99bcb Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 17 Apr 2019 09:44:52 -0600 Subject: [PATCH] Clarify comment Co-Authored-By: turt2live --- src/autodiscovery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autodiscovery.js b/src/autodiscovery.js index ec897e0ba..4079833c9 100644 --- a/src/autodiscovery.js +++ b/src/autodiscovery.js @@ -331,7 +331,7 @@ export class AutoDiscovery { .map((k) => { if (k === "m.homeserver" || k === "m.identity_server") { // Only copy selected parts of the config to avoid overwriting - // important information. + // properties computed by the validation logic above. const notProps = ["error", "state", "base_url"]; for (const prop of Object.keys(wellknown[k])) { if (notProps.includes(prop)) continue;