summary refs log tree commit diff
path: root/synapse/push/push_tools.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-09-06 23:32:28 +0100
committerRichard van der Hoff <richard@matrix.org>2020-09-06 23:32:28 +0100
commit77b4711bc28c6e1c2c56ae564f93985d21419251 (patch)
tree7308cff3630d81cd97cf9eadb88aeafa6d997b5c /synapse/push/push_tools.py
parentIn light of #8255, use BIGINTs for destination_rooms (#8256) (diff)
parentAdd cross-signing sigs to the `keys` object (#8234) (diff)
downloadsynapse-77b4711bc28c6e1c2c56ae564f93985d21419251.tar.xz
Merge branch 'release-v1.20.0' into develop
Diffstat (limited to 'synapse/push/push_tools.py')
-rw-r--r--synapse/push/push_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/push_tools.py b/synapse/push/push_tools.py
index f7a25571f3..d0145666bf 100644
--- a/synapse/push/push_tools.py
+++ b/synapse/push/push_tools.py
@@ -36,7 +36,7 @@ async def get_badge_count(store, user_id):
             )
             # return one badge count per conversation, as count per
             # message is so noisy as to be almost useless
-            badge += 1 if notifs["unread_count"] else 0
+            badge += 1 if notifs["notify_count"] else 0
     return badge