mirror of
https://github.com/element-hq/synapse
synced 2024-09-01 12:10:21 +00:00
Add missing yield during 3pid signature checks
This commit is contained in:
parent
1a6c7cdf54
commit
d960d23830
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ class RoomMemberHandler(object):
|
||||||
if "mxid" in data:
|
if "mxid" in data:
|
||||||
if "signatures" not in data:
|
if "signatures" not in data:
|
||||||
raise AuthError(401, "No signatures on 3pid binding")
|
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"])
|
defer.returnValue(data["mxid"])
|
||||||
|
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
|
|
Loading…
Reference in a new issue