mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 11:54:12 -04:00
Return highlight_count in /sync
This commit is contained in:
parent
47e7963e50
commit
3adcc4c86a
3 changed files with 40 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue