diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-09-08 17:35:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-08 17:35:35 +0100 |
commit | c3276aef2586816f67729f6c8d294fbceaea9bb1 (patch) | |
tree | 59d8ef18a5a571b7ae8196a673483969037a9876 /synapse/storage | |
parent | Merge pull request #1085 from matrix-org/erikj/reindex_state_groups (diff) | |
parent | Fix /notifications API when used with `from` param (diff) | |
download | synapse-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')
-rw-r--r-- | synapse/storage/event_push_actions.py | 2 |
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] |