From 64df6fbefac41bfeb56c4ce1d7af2e6ad982c327 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Mon, 3 Jun 2024 23:17:16 -0500 Subject: [PATCH] Revert change that should be separated and is failing --- synapse/handlers/sync.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 0aac8c17b9..778d68ad3f 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -1997,9 +1997,7 @@ class SyncHandler: if since_token: membership_change_events = await self.store.get_membership_changes_for_user( user_id, - # TODO: We should make this change, - # https://github.com/element-hq/synapse/pull/17187#discussion_r1617871321 - token_before_rooms.room_key, + since_token.room_key, now_token.room_key, self.rooms_to_exclude_globally, )