diff options
author | Erik Johnston <erik@matrix.org> | 2016-05-31 15:44:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-05-31 15:44:08 +0100 |
commit | cca0093fa96cfec0566ff790ef990fad8b6763bb (patch) | |
tree | 43053dc8ea0d49eb8dfcb8a14135061dbf10c40d /synapse/rest | |
parent | Fix GET /push_rules (diff) | |
download | synapse-cca0093fa96cfec0566ff790ef990fad8b6763bb.tar.xz |
Change fix
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/push_rule.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py index c135353aab..02d837ee6a 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py @@ -132,9 +132,6 @@ class PushRuleRestServlet(ClientV1RestServlet): enabled_map = yield self.store.get_push_rules_enabled_for_user(user_id) - rawrules = {k: v for k, v in rawrules.item() if k is not None} - enabled_map = {k: v for k, v in enabled_map.item() if k is not None} - rules = format_push_rules_for_user(requester.user, rawrules, enabled_map) path = request.postpath[1:] |