diff options
author | David Baker <dave@matrix.org> | 2015-03-06 15:12:37 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-03-06 15:12:37 +0000 |
commit | 96eda876a4e52269b7eec62ccdd4698aa1721b8e (patch) | |
tree | 4842c8c81f6331380df1c1d1ee8074858d4cf6a4 /synapse/push | |
parent | Remove the fallback rule - we probably don't want to be notifying for everyth... (diff) | |
download | synapse-96eda876a4e52269b7eec62ccdd4698aa1721b8e.tar.xz |
Specify when we don't want to highlight
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/baserules.py | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py index 0c91e77c62..6d00ebd36d 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py @@ -113,6 +113,9 @@ def make_base_override_rules(): { 'set_tweak': 'sound', 'value': 'default' + }, { + 'set_tweak': 'highlight', + 'value': 'false' } ] } @@ -145,6 +148,9 @@ def make_base_underride_rules(user): { 'set_tweak': 'sound', 'value': 'default' + }, { + 'set_tweak': 'highlight', + 'value': 'false' } ] }, @@ -158,7 +164,10 @@ def make_base_underride_rules(user): } ], 'actions': [ - 'notify', + 'notify', { + 'set_tweak': 'highlight', + 'value': 'false' + } ] }, { @@ -171,7 +180,10 @@ def make_base_underride_rules(user): } ], 'actions': [ - 'notify', + 'notify', { + 'set_tweak': 'highlight', + 'value': 'false' + } ] }, { @@ -188,6 +200,9 @@ def make_base_underride_rules(user): { 'set_tweak': 'sound', 'value': 'ring' + }, { + 'set_tweak': 'highlight', + 'value': 'false' } ] } |