summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 10:50:49 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 10:50:49 +0000
commit771528ab1323715271b9e968d2d337b88910fb2f (patch)
tree2614f84a572b998b9bc69477cb1adb18ae600c7b /synapse/push/__init__.py
parentMerge pull request #553 from matrix-org/daniel/accesstokenlogging (diff)
downloadsynapse-771528ab1323715271b9e968d2d337b88910fb2f.tar.xz
Change event_push_actions_rm_tokens schema
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 9bc0b356f4..8b9d0f03e5 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -316,7 +316,7 @@ class Pusher(object):
                         r.room_id, self.user_id, last_unread_event_id
                     )
                 )
-                badge += len(notifs)
+                badge += notifs["notify_count"]
         defer.returnValue(badge)