diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-06-11 18:04:43 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-06-11 18:04:43 +0100 |
commit | d0f095625c996c8b831e27609ed88704df3b2845 (patch) | |
tree | d39d408201114f89aefcc5ed521f4b00a4c06bef | |
parent | Save the count of unread messages to event_push_summary (diff) | |
download | synapse-d0f095625c996c8b831e27609ed88704df3b2845.tar.xz |
Lint
-rw-r--r-- | synapse/storage/data_stores/main/event_push_actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/event_push_actions.py b/synapse/storage/data_stores/main/event_push_actions.py index 2b56e1d104..af0ab6cbc1 100644 --- a/synapse/storage/data_stores/main/event_push_actions.py +++ b/synapse/storage/data_stores/main/event_push_actions.py @@ -897,7 +897,8 @@ class EventPushActionsStore(EventPushActionsWorkerStore): """, ( (notif_rows[i][2], rows[i][2], rows[i][3], rows[i][0], rows[i][1]) - for i, _ in enumerate(rows) if rows[i][4] is not None + for i, _ in enumerate(rows) + if rows[i][4] is not None ), ) |