0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-28 15:38:18 +02:00

Fix /notifications API when used with from param

This commit is contained in:
David Baker 2016-09-08 09:40:10 +01:00
parent 3c320c006c
commit c5b49eb7ca

View file

@ -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]