mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 10:20:39 -05:00
Re-implement unread counts (#7736)
This commit is contained in:
parent
2184f61fae
commit
8dff4a1242
11 changed files with 339 additions and 18 deletions
|
|
@ -426,6 +426,7 @@ class SyncRestServlet(RestServlet):
|
|||
result["ephemeral"] = {"events": ephemeral_events}
|
||||
result["unread_notifications"] = room.unread_notifications
|
||||
result["summary"] = room.summary
|
||||
result["org.matrix.msc2654.unread_count"] = room.unread_count
|
||||
|
||||
return result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue