summary refs log tree commit diff
path: root/synapse/push/action_generator.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-02-18 16:05:23 +0000
committerMark Haines <mjark@negativecurvature.net>2016-02-18 16:05:23 +0000
commit9c902025bf40599a875e773a9b9f6ebc021a5b59 (patch)
tree5abc257a763ac3a0a180b24e874b1ca9c4bd3edc /synapse/push/action_generator.py
parentMerge pull request #583 from matrix-org/daniel/roomcleanupincremental (diff)
parentRemove dead code for setting device specific rules. (diff)
downloadsynapse-9c902025bf40599a875e773a9b9f6ebc021a5b59.tar.xz
Merge pull request #579 from matrix-org/markjh/dead_code
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/action_generator.py')
-rw-r--r--synapse/push/action_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/action_generator.py b/synapse/push/action_generator.py
index e0da0868ec..c6c1dc769e 100644
--- a/synapse/push/action_generator.py
+++ b/synapse/push/action_generator.py
@@ -44,5 +44,5 @@ class ActionGenerator:
         )
 
         context.push_actions = [
-            (uid, None, actions) for uid, actions in actions_by_user.items()
+            (uid, actions) for uid, actions in actions_by_user.items()
         ]