mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-20 02:52:53 -05:00
Add a new unread_counter to sync responses
This commit is contained in:
parent
6f6a4bfc07
commit
ef345c5a7b
3 changed files with 28 additions and 3 deletions
|
|
@ -1895,6 +1895,7 @@ class SyncHandler(object):
|
|||
if notifs is not None:
|
||||
unread_notifications["notification_count"] = notifs["notify_count"]
|
||||
unread_notifications["highlight_count"] = notifs["highlight_count"]
|
||||
unread_notifications["unread_count"] = notifs["unread_count"]
|
||||
|
||||
sync_result_builder.joined.append(room_sync)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue