mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:36:02 -04:00
Code style fixes.
This commit is contained in:
parent
8b1dd9f57f
commit
acb68a39e0
8 changed files with 42 additions and 26 deletions
|
@ -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)
|
||||
defer.returnValue(rejected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue