Fix bad merge

pull/2594/merge
Erik Johnston 2017-10-27 15:10:50 +01:00
parent 6980c4557e
commit 977078f06d
1 changed files with 3 additions and 1 deletions

View File

@ -646,7 +646,9 @@ class GroupsServerHandler(object):
raise SynapseError(403, "User not invited to group") raise SynapseError(403, "User not invited to group")
if not self.hs.is_mine_id(requester_user_id): if not self.hs.is_mine_id(requester_user_id):
local_attestation = self.attestations.create_attestation(group_id, user_id) local_attestation = self.attestations.create_attestation(
group_id, requester_user_id,
)
remote_attestation = content["attestation"] remote_attestation = content["attestation"]
yield self.attestations.verify_attestation( yield self.attestations.verify_attestation(