summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-08-28 13:43:52 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-08-28 13:43:52 +0100
commit4dc08495b82ece4330bdfcd5dafe9d3fcfa64450 (patch)
treea4192ea618028f937a873c4b9e2c8d2a2bb97409 /synapse
parentWarn user when the id_server they chose does not support any of the hs' desir... (diff)
downloadsynapse-4dc08495b82ece4330bdfcd5dafe9d3fcfa64450.tar.xz
lint
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/room_member.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 98f7d86ec0..3ab6fc55f8 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -796,8 +796,11 @@ class RoomMemberHandler(object):
                 id_server,
                 hash_details["algorithms"],
             )
-            raise SynapseError(400, "Provided identity server does not support any v2 lookup "
-                                    "algorithms that this homeserver supports.")
+            raise SynapseError(
+                400,
+                "Provided identity server does not support any v2 lookup "
+                "algorithms that this homeserver supports.",
+            )
 
         try:
             lookup_results = yield self.simple_http_client.post_json_get_json(