From a79c9b1f17ee969cb34d9da8bf1bf98629760064 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 10 May 2023 14:23:32 -0400 Subject: [PATCH] Remove identity check. --- synapse/event_auth.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/synapse/event_auth.py b/synapse/event_auth.py index cbb458609f47..9dc80f40f128 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py @@ -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"]