mirror of
https://github.com/element-hq/synapse
synced 2024-09-11 13:35:13 +00:00
It's set_tweak now, not set_sound
This commit is contained in:
parent
cfac3b7873
commit
2a6dedd7cc
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue