summary refs log tree commit diff
path: root/synapse/handlers/room_member.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-02 11:03:18 +0000
committerErik Johnston <erik@matrix.org>2018-03-02 11:03:18 +0000
commitd960d23830cb8bffe49a1eafed21bf66c25e4235 (patch)
tree7018d5e23e68c31f8923954a9cc6038d5e9421bc /synapse/handlers/room_member.py
parentMerge pull request #2928 from matrix-org/erikj/read_marker_caches (diff)
downloadsynapse-d960d23830cb8bffe49a1eafed21bf66c25e4235.tar.xz
Add missing yield during 3pid signature checks
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room_member.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 7ecdf87246..ed3b97730d 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -573,7 +573,7 @@ class RoomMemberHandler(object):
             if "mxid" in data:
                 if "signatures" not in data:
                     raise AuthError(401, "No signatures on 3pid binding")
-                self.verify_any_signature(data, id_server)
+                yield self.verify_any_signature(data, id_server)
                 defer.returnValue(data["mxid"])
 
         except IOError as e: