mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-08 17:06:52 +00:00
Merge pull request #1080 from matrix-org/dbkr/fix_notifications_api_with_from
Fix /notifications API when used with `from` param
This commit is contained in:
commit
c3276aef25
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue