summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <eric.eastwood@beta.gouv.fr>2024-08-07 18:10:24 -0500
committerEric Eastwood <eric.eastwood@beta.gouv.fr>2024-08-07 18:10:24 -0500
commit68a3daf605878e87a075400b390357d0bfbcc74a (patch)
treecc50772e8324dcb22cf5c8b2107ed0b701df5074
parentCloser to right (diff)
downloadsynapse-68a3daf605878e87a075400b390357d0bfbcc74a.tar.xz
Fix comparison and insert
-rw-r--r--synapse/storage/databases/main/events.py2
1 files changed, 1 insertions, 1 deletions
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()
                     ],
                 )