mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 22:49:26 -05:00
Fix /notifications API when used with from
param
This commit is contained in:
parent
3c320c006c
commit
c5b49eb7ca
@ -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…
Reference in New Issue
Block a user