diff options
author | David Baker <dave@matrix.org> | 2015-01-20 11:49:48 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-01-20 11:49:48 +0000 |
commit | afb714f7bebf88ac27eac018cffa2078e2723310 (patch) | |
tree | c65a60cc08b0c5335a25b946f49255cbe4468202 /synapse/push/httppusher.py | |
parent | Require device language when adding a pusher. (diff) | |
download | synapse-afb714f7bebf88ac27eac018cffa2078e2723310.tar.xz |
add instance_handles to pushers so we have a way to refer to them even if the push token changes.
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r-- | synapse/push/httppusher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index 7631a741fa..9a3e0be15e 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -24,11 +24,12 @@ logger = logging.getLogger(__name__) class HttpPusher(Pusher): - def __init__(self, _hs, user_name, app_id, + def __init__(self, _hs, instance_handle, user_name, app_id, app_display_name, device_display_name, pushkey, pushkey_ts, data, last_token, last_success, failing_since): super(HttpPusher, self).__init__( _hs, + instance_handle, user_name, app_id, app_display_name, |