From 68a3daf605878e87a075400b390357d0bfbcc74a Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 7 Aug 2024 18:10:24 -0500 Subject: Fix comparison and insert --- synapse/storage/databases/main/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/databases/main/events.py b/synapse/storage/databases/main/events.py index 913b6f2b87..93439e72a0 100644 --- a/synapse/storage/databases/main/events.py +++ b/synapse/storage/databases/main/events.py @@ -1511,9 +1511,9 @@ class PersistEventsStore: membership_event_id, membership_event_id, membership_event_id, - Membership.JOIN, ] + list(insert_values) + + [Membership.JOIN] for membership_event_id, user_id in membership_event_id_to_user_id_map.items() ], ) -- cgit 1.4.1