summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 16:35:00 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 16:35:00 +0000
commit4d36e732307ad35eb070af384058f227d7d85dd0 (patch)
tree7283601ff16c85771d9db489e5c8f86ac2babcb8 /synapse/storage
parentRemove old log line (diff)
downloadsynapse-4d36e732307ad35eb070af384058f227d7d85dd0.tar.xz
Actually return something sensible
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_push_actions.py2
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]