Clarify comment

Co-Authored-By: turt2live <travpc@gmail.com>
This commit is contained in:
J. Ryan Stinnett
2019-04-17 09:44:52 -06:00
committed by GitHub
parent af93401385
commit d668f97c98
+1 -1
View File
@@ -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;