Merge pull request #2933 from matrix-org/erikj/3pid_yield

Add missing yield during 3pid signature checks
pull/14/head
Erik Johnston 7 years ago committed by GitHub
commit 6619f047ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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:

Loading…
Cancel
Save