Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove identity check.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed May 10, 2023
1 parent 1571a24 commit a79c9b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions synapse/event_auth.py
Expand Up @@ -1080,8 +1080,6 @@ def _verify_third_party_invite(

if signed["mxid"] != event.state_key:
return False
if signed["token"] != token:
return False

for public_key_object in get_public_keys(invite_event):
public_key = public_key_object["public_key"]
Expand Down

0 comments on commit a79c9b1

Please sign in to comment.