summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-04 18:11:17 +0000
committerDavid Baker <dave@matrix.org>2016-01-04 18:11:17 +0000
commit4eb7b950c829dd8463df8ccd1095772452293a15 (patch)
tree49a0611fb85d5a7379cd25844cc0f1cc8d0dbe4b /synapse/storage
parentOnly joined rooms have unread_notif_count (diff)
downloadsynapse-4eb7b950c829dd8463df8ccd1095772452293a15.tar.xz
= not == in sql
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, (