mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
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:
parent
5e909c73d7
commit
42ad49f5b7
5 changed files with 82 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue