still very WIP, but now sends unread_notifications_count in the room object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).

This commit is contained in:
David Baker 2015-12-16 18:42:09 +00:00
parent 5e909c73d7
commit 42ad49f5b7
5 changed files with 82 additions and 5 deletions

View file

@ -45,5 +45,5 @@ class ActionGenerator:
logger.info("actions for user %s: %s", uid, actions)
if len(actions):
self.store.set_actions_for_event(
event['event_id'], uid, None, actions
event, uid, None, actions
)