summary refs log tree commit diff
path: root/synapse/push/httppusher.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-02-18 16:05:13 +0000
committerreview.rocks <nobody@review.rocks>2016-02-18 16:05:13 +0000
commitb9977ea667889f6cf89464c92fc57cbcae7cca28 (patch)
tree5abc257a763ac3a0a180b24e874b1ca9c4bd3edc /synapse/push/httppusher.py
parentMerge pull request #583 from matrix-org/daniel/roomcleanupincremental (diff)
downloadsynapse-b9977ea667889f6cf89464c92fc57cbcae7cca28.tar.xz
Remove dead code for setting device specific rules.
It wasn't possible to hit the code from the API because of a typo
in parsing the request path. Since no-one was using the feature
we might as well remove the dead code.
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r--synapse/push/httppusher.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index cdc4494928..9be4869360 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -23,12 +23,11 @@ logger = logging.getLogger(__name__)
 
 
 class HttpPusher(Pusher):
-    def __init__(self, _hs, profile_tag, user_id, app_id,
+    def __init__(self, _hs, user_id, app_id,
                  app_display_name, device_display_name, pushkey, pushkey_ts,
                  data, last_token, last_success, failing_since):
         super(HttpPusher, self).__init__(
             _hs,
-            profile_tag,
             user_id,
             app_id,
             app_display_name,