diff options
author | Erik Johnston <erik@matrix.org> | 2016-02-03 16:35:00 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-02-03 16:35:00 +0000 |
commit | 4d36e732307ad35eb070af384058f227d7d85dd0 (patch) | |
tree | 7283601ff16c85771d9db489e5c8f86ac2babcb8 /synapse | |
parent | Remove old log line (diff) | |
download | synapse-4d36e732307ad35eb070af384058f227d7d85dd0.tar.xz |
Actually return something sensible
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 2742e0c008..d0a969f50b 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py @@ -72,7 +72,7 @@ class EventPushActionsStore(SQLBaseStore): ) results = txn.fetchall() if len(results) == 0: - return {} + return {"notify_count": 0, "highlight_count": 0} stream_ordering = results[0][0] topological_ordering = results[0][1] |