summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 15:02:47 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 15:02:47 +0000
commit8450114098544ff948d1c48b451ee72bbb8d582b (patch)
tree8bc5bef6c35b42d9c19c77656d54988939a4eff6 /synapse/push
parentMerge pull request #556 from matrix-org/daniel/config (diff)
parentChange event_push_actions_rm_tokens schema (diff)
downloadsynapse-8450114098544ff948d1c48b451ee72bbb8d582b.tar.xz
Merge pull request #554 from matrix-org/erikj/event_push
Change event_push_actions_rm_tokens schema
Diffstat (limited to 'synapse/push')
-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)