diff options
author | David Baker <dave@matrix.org> | 2016-06-22 17:51:40 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-06-22 17:51:40 +0100 |
commit | f73fdb04a6cc361e9396c9b22f81544ecfb895bd (patch) | |
tree | 34fb8990ac8b7892ff6077cf3ae4a9ac80df0313 /synapse | |
parent | Put most recent 20 messages in notif (diff) | |
download | synapse-f73fdb04a6cc361e9396c9b22f81544ecfb895bd.tar.xz |
Style
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 5aaaf4b19d..2e85cf5f51 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py @@ -192,7 +192,7 @@ class EventPushActionsStore(SQLBaseStore): "actions": json.loads(row[3]), "received_ts": row[4], } for row in after_read_receipt + no_read_receipt - ][0:limit]) + ][:limit]) @defer.inlineCallbacks def get_time_of_last_push_action_before(self, stream_ordering): |