mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 20:50:23 +03:00
black
This commit is contained in:
parent
1759f8f3e5
commit
890bd6b66f
1 changed files with 4 additions and 1 deletions
|
@ -120,7 +120,10 @@ class KeyConfig(Config):
|
|||
else:
|
||||
key_servers = config.get("trusted_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(
|
||||
"""
|
||||
This server is configured to use 'matrix.org' as its
|
||||
|
|
Loading…
Reference in a new issue