summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-06-10 20:35:35 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-06-10 20:35:35 +0100
commit243f0ba6ced0b99a7022c16324484e0825803483 (patch)
tree0eecddcff9c017ce6d45a2bd0e6b805863bd13ee /synapse
parentUse temporary prefixes as per the MSC (diff)
downloadsynapse-243f0ba6ced0b99a7022c16324484e0825803483.tar.xz
Lint
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/sync.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index 5a38f3e9a8..44ddb5504c 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -1895,9 +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["org.matrix.msc2625.unread_count"] = ( - notifs["unread_count"] - ) + unread_notifications["org.matrix.msc2625.unread_count"] = notifs[ + "unread_count", + ] sync_result_builder.joined.append(room_sync)