diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-07-29 18:26:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 18:26:55 +0100 |
commit | 8dff4a12424cda9e4abaa5f2905d58aa6e723777 (patch) | |
tree | ed7a3fde822301d9cd82ce22eb56e53ae40b5c32 /synapse/rest | |
parent | Various improvements to the docs (#7899) (diff) | |
download | synapse-8dff4a12424cda9e4abaa5f2905d58aa6e723777.tar.xz |
Re-implement unread counts (#7736)
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index a5c24fbd63..3f5bf75e59 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -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 |