summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_push_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py
index 016c0adf8a..3075d02257 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -75,7 +75,7 @@ class EventPushActionsStore(SQLBaseStore):
                 " AND ea.room_id = ?"
                 " AND ("
                 "       e.topological_ordering > ?"
-                "       OR (e.topological_ordering == ? AND e.stream_ordering > ?)"
+                "       OR (e.topological_ordering = ? AND e.stream_ordering > ?)"
                 ")"
             )
             txn.execute(sql, (