diff options
author | David Baker <dave@matrix.org> | 2015-02-27 18:38:56 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-02-27 18:38:56 +0000 |
commit | 2a6dedd7cc349201e8ad1607835221ada1c0828f (patch) | |
tree | 9cecde252e5936da5df28d2a9ae663f6cd426e78 /synapse | |
parent | SYN-267 Add a fallback rule as an explicit server default rule and make the d... (diff) | |
download | synapse-2a6dedd7cc349201e8ad1607835221ada1c0828f.tar.xz |
It's set_tweak now, not set_sound
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v1/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py index c6133a8688..5bfdb29907 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py @@ -309,7 +309,7 @@ def _rule_tuple_from_request_object(rule_template, rule_id, req_obj, device=None for a in actions: if a in ['notify', 'dont_notify', 'coalesce']: pass - elif isinstance(a, dict) and 'set_sound' in a: + elif isinstance(a, dict) and 'set_tweak' in a: pass else: raise InvalidRuleException("Unrecognised action") |