summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-20 11:52:08 +0000
committerDavid Baker <dave@matrix.org>2015-01-20 11:52:08 +0000
commit5d5932d493dc769e95472835b438769567ed550e (patch)
treeacf02aae803f0148619f0aa18ad808494a3009e0 /synapse/push
parentadd instance_handles to pushers so we have a way to refer to them even if the... (diff)
downloadsynapse-5d5932d493dc769e95472835b438769567ed550e.tar.xz
use underscores everywhere, not camelcase.
Diffstat (limited to '')
-rw-r--r--synapse/push/httppusher.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index 9a3e0be15e..46433ad4a9 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -72,17 +72,17 @@ class HttpPusher(Pusher):
                 'from': event['user_id'],
                 # we may have to fetch this over federation and we
                 # can't trust it anyway: is it worth it?
-                #'fromDisplayName': 'Steve Stevington'
+                #'from_display_name': 'Steve Stevington'
                 #'counts': { -- we don't mark messages as read yet so
                 # we have no way of knowing
                 #    'unread': 1,
-                #    'missedCalls': 2
+                #    'missed_calls': 2
                 # },
                 'devices': [
                     {
                         'app_id': self.app_id,
                         'pushkey': self.pushkey,
-                        'pushkeyTs': long(self.pushkey_ts / 1000),
+                        'pushkey_ts': long(self.pushkey_ts / 1000),
                         'data': self.data_minus_url
                     }
                 ]