mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-24 08:34:12 +00:00
Fix sqlite
This commit is contained in:
1 parent
ac0f8c20e8
commit
1e812e4df0
1 file changed
+1
-1
@@ -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())
|
||||
|
||||
|
||||
Reference in new issue
Block a user