Fix sqlite

This commit is contained in:
Kegan Dougal
2025-09-23 14:48:28 +01:00
parent ac0f8c20e8
commit 1e812e4df0
@@ -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())