From ed3f6ea30ee3572b98c6dfa52b7d441ede2555fc Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 7 Oct 2022 14:09:17 +0100 Subject: Uncertain: I think we want the adjusted FEs here --- synapse/handlers/room_member.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index 6ad2b38b8f..90fd3b4a8a 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -799,7 +799,9 @@ class RoomMemberHandler(metaclass=abc.ABCMeta): origin_server_ts=origin_server_ts, ) - latest_event_ids = await self.store.get_prev_events_for_room(room_id) + latest_event_ids = await self.store.get_prev_events_for_creating_event_in_room( + room_id + ) state_before_join = await self.state_handler.compute_state_after_events( room_id, latest_event_ids -- cgit 1.4.1