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

@ -304,6 +304,7 @@ class SyncRestServlet(RestServlet):
},
"state": {"events": serialized_state},
"account_data": {"events": account_data},
"unread_notification_count": room.unread_notification_count
}
if joined: