Actually return something sensible

pull/558/head
Erik Johnston 2016-02-03 16:35:00 +00:00
parent 709e09e1c3
commit 4d36e73230
1 changed files with 1 additions and 1 deletions

View File

@ -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]