Return highlight_count in /sync

This commit is contained in:
Erik Johnston 2016-01-19 11:35:50 +00:00
parent 47e7963e50
commit 3adcc4c86a
3 changed files with 40 additions and 8 deletions

View file

@ -313,6 +313,7 @@ class SyncRestServlet(RestServlet):
ephemeral_events = filter.filter_room_ephemeral(room.ephemeral)
result["ephemeral"] = {"events": ephemeral_events}
result["unread_notification_count"] = room.unread_notification_count
result["unread_highlight_count"] = room.unread_highlight_count
return result