diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-08-28 13:43:52 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-08-28 13:43:52 +0100 |
commit | 4dc08495b82ece4330bdfcd5dafe9d3fcfa64450 (patch) | |
tree | a4192ea618028f937a873c4b9e2c8d2a2bb97409 /synapse | |
parent | Warn user when the id_server they chose does not support any of the hs' desir... (diff) | |
download | synapse-4dc08495b82ece4330bdfcd5dafe9d3fcfa64450.tar.xz |
lint
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/room_member.py | 7 |
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( |