diff options
author | David Baker <dave@matrix.org> | 2016-09-08 09:40:10 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-09-08 09:40:10 +0100 |
commit | c5b49eb7ca7327cba0e3658b1ec84cca823c8b54 (patch) | |
tree | 17a0b35da4bc10eb948b9f519d42eb4ff63501dd /synapse | |
parent | Merge pull request #1077 from matrix-org/markjh/device_logging (diff) | |
download | synapse-c5b49eb7ca7327cba0e3658b1ec84cca823c8b54.tar.xz |
Fix /notifications API when used with `from` param
Diffstat (limited to 'synapse')
-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] |