This commit is contained in:
Neil Johnson 2019-09-23 18:01:16 +01:00
parent 1759f8f3e5
commit 890bd6b66f

View file

@ -120,7 +120,10 @@ class KeyConfig(Config):
else: else:
key_servers = config.get("trusted_key_servers", []) key_servers = config.get("trusted_key_servers", [])
for server in key_servers: for server in key_servers:
if server['server_name'] == 'matrix.org' and not suppress_key_server_warning: if (
server["server_name"] == "matrix.org"
and not suppress_key_server_warning
):
logger.warn( logger.warn(
""" """
This server is configured to use 'matrix.org' as its This server is configured to use 'matrix.org' as its