summary refs log tree commit diff
path: root/synapse/storage/event_push_actions.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-09-08 17:35:35 +0100
committerGitHub <noreply@github.com>2016-09-08 17:35:35 +0100
commitc3276aef2586816f67729f6c8d294fbceaea9bb1 (patch)
tree59d8ef18a5a571b7ae8196a673483969037a9876 /synapse/storage/event_push_actions.py
parentMerge pull request #1085 from matrix-org/erikj/reindex_state_groups (diff)
parentFix /notifications API when used with `from` param (diff)
downloadsynapse-c3276aef2586816f67729f6c8d294fbceaea9bb1.tar.xz
Merge pull request #1080 from matrix-org/dbkr/fix_notifications_api_with_from
Fix /notifications API when used with `from` param
Diffstat (limited to 'synapse/storage/event_push_actions.py')
-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 eb15fb751b..56dce4b616 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -342,7 +342,7 @@ class EventPushActionsStore(SQLBaseStore):
         def f(txn):
             before_clause = ""
             if before:
-                before_clause = "AND stream_ordering < ?"
+                before_clause = "AND epa.stream_ordering < ?"
                 args = [user_id, before, limit]
             else:
                 args = [user_id, limit]