diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-07-29 09:57:13 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-07-29 09:57:13 +0100 |
commit | 8dad08a9509103f38d9eec5dc28d46e4a757fad8 (patch) | |
tree | cc15550c20eb2369634351a05adcd8c9fe965f7d /synapse/storage | |
parent | Create separate methods for getting messages to push (diff) | |
download | synapse-8dad08a9509103f38d9eec5dc28d46e4a757fad8.tar.xz |
Fix SQL to supply arguments in the same order
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 5ab362bef2..df4000d0da 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py @@ -272,8 +272,8 @@ class EventPushActionsStore(SQLBaseStore): " AND ep.stream_ordering > rl.stream_ordering" " )" " )" - " AND ep.stream_ordering > ?" " AND ep.user_id = ?" + " AND ep.stream_ordering > ?" " AND ep.stream_ordering <= ?" " ORDER BY ep.stream_ordering DESC LIMIT ?" ) |