From 1e812e4df099630bbe6ac0e448a7fec87ad7e9a2 Mon Sep 17 00:00:00 2001 From: Kegan Dougal <7190048+kegsay@users.noreply.github.com> Date: Tue, 23 Sep 2025 14:48:28 +0100 Subject: [PATCH] Fix sqlite --- synapse/storage/databases/main/sticky_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/databases/main/sticky_events.py b/synapse/storage/databases/main/sticky_events.py index 130bd388df..1033e704d6 100644 --- a/synapse/storage/databases/main/sticky_events.py +++ b/synapse/storage/databases/main/sticky_events.py @@ -167,7 +167,7 @@ class StickyEventsWorkerStore(CacheInvalidationWorkerStore): SELECT stream_id, room_id, event_id FROM sticky_events WHERE soft_failed=FALSE AND expires_at > ? AND stream_id > ? AND stream_id <= ? AND {clause} """, - (now, from_id, to_id, room_id_values), + (now, from_id, to_id, *room_id_values), ) return cast(List[Tuple[int, str, str]], txn.fetchall())