Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Actually return something sensible
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Feb 3, 2016
1 parent 709e09e commit 4d36e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/event_push_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _get_unread_event_push_actions_by_room(txn):
)
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]
Expand Down

0 comments on commit 4d36e73

Please sign in to comment.