diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-29 16:10:35 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-29 16:12:40 +0000 |
commit | acb68a39e02f405c116135400e33a3b1940a07f8 (patch) | |
tree | 4629354ff9d7091b8073558dc642ee188b16f136 /synapse/push/httppusher.py | |
parent | Only send a badge-reset if the user actually has unread notifications. (diff) | |
download | synapse-acb68a39e02f405c116135400e33a3b1940a07f8.tar.xz |
Code style fixes.
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r-- | synapse/push/httppusher.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index e12b946727..ab128e31e5 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -71,11 +71,11 @@ class HttpPusher(Pusher): # we may have to fetch this over federation and we # can't trust it anyway: is it worth it? #'from_display_name': 'Steve Stevington' - 'counts': { #-- we don't mark messages as read yet so - # we have no way of knowing + 'counts': { # -- we don't mark messages as read yet so + # we have no way of knowing # Just set the badge to 1 until we have read receipts 'unread': 1, - # 'missed_calls': 2 + # 'missed_calls': 2 }, 'devices': [ { @@ -142,4 +142,4 @@ class HttpPusher(Pusher): rejected = [] if 'rejected' in resp: rejected = resp['rejected'] - defer.returnValue(rejected) \ No newline at end of file + defer.returnValue(rejected) |