summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-06-10 20:32:01 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-06-10 20:32:01 +0100
commitdf3323a7cfe831813c00df32c85b983587f8529e (patch)
treeb88c6f1e01e19890fef9ef69e471ddc7fd864c4b /synapse/handlers/sync.py
parentChangelog (diff)
downloadsynapse-df3323a7cfe831813c00df32c85b983587f8529e.tar.xz
Use temporary prefixes as per the MSC
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index cec0ca427e..5a38f3e9a8 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -1895,7 +1895,9 @@ 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"]
+                    unread_notifications["org.matrix.msc2625.unread_count"] = (
+                        notifs["unread_count"]
+                    )
 
                 sync_result_builder.joined.append(room_sync)