From 4fd68e2736c5d908ab4267a37330598f2cf661fe Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 28 Aug 2024 15:05:56 +0100 Subject: [PATCH] FIXUP --- synapse/storage/databases/main/events_bg_updates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/storage/databases/main/events_bg_updates.py b/synapse/storage/databases/main/events_bg_updates.py index 82456c97cf..a6fd6202ac 100644 --- a/synapse/storage/databases/main/events_bg_updates.py +++ b/synapse/storage/databases/main/events_bg_updates.py @@ -1873,8 +1873,8 @@ class EventsBackgroundUpdatesStore(StreamWorkerStore, StateDeltasStore, SQLBaseS e.stream_ordering, e.outlier FROM local_current_membership as c - INNER JOIN events AS e USING (event_id) INNER JOIN rooms USING (room_id) + INNER JOIN events AS e USING (event_id) WHERE c.room_id > ? ORDER BY c.room_id ASC LIMIT ? @@ -1898,8 +1898,8 @@ class EventsBackgroundUpdatesStore(StreamWorkerStore, StateDeltasStore, SQLBaseS c.event_stream_ordering, e.outlier FROM local_current_membership as c - INNER JOIN events AS e USING (event_id) INNER JOIN rooms USING (room_id) + INNER JOIN events AS e USING (event_id) WHERE event_stream_ordering > ? ORDER BY event_stream_ordering ASC LIMIT ?