summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-09-04 14:07:34 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-09-04 14:07:34 +0100
commit1b2092847d1dce3b5a844e103f802c7a2282af5c (patch)
tree2c269abee34983dde94a99f89b53860140bb5c1d /synapse
parentFactor our v2 invite things (diff)
downloadsynapse-1b2092847d1dce3b5a844e103f802c7a2282af5c.tar.xz
lint
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/room_member.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 7f3603fd52..d844995023 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -684,9 +684,7 @@ class RoomMemberHandler(object):
                 403, "Looking up third-party identifiers is denied from this server"
             )
 
-        invitee = yield self.lookup_3pid(
-            id_server, medium, address, id_access_token
-        )
+        invitee = yield self.lookup_3pid(id_server, medium, address, id_access_token)
 
         if invitee:
             yield self.update_membership(
@@ -722,8 +720,7 @@ class RoomMemberHandler(object):
         hash_details = None
         try:
             hash_details = yield self.simple_http_client.get_json(
-                "%s%s/_matrix/identity/v2/hash_details"
-                % (id_server, id_server_scheme),
+                "%s%s/_matrix/identity/v2/hash_details" % (id_server, id_server_scheme),
                 query_params,
             )
             if not isinstance(hash_details, dict):