mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 16:53:53 +01:00
Fix current_state_events membership background update.
Turns out not all rooms are in `rooms`, so lets fetch the room list from `current_state_events`. We move the delta file to force it to be run again.
This commit is contained in:
parent
7a48d0bab8
commit
15056ca208
2 changed files with 1 additions and 1 deletions
|
@ -935,7 +935,7 @@ class RoomMemberStore(RoomMemberWorkerStore):
|
|||
while processed < batch_size:
|
||||
txn.execute(
|
||||
"""
|
||||
SELECT MIN(room_id) FROM rooms WHERE room_id > ?
|
||||
SELECT MIN(room_id) FROM current_state_events WHERE room_id > ?
|
||||
""",
|
||||
(last_processed_room,),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue