summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMathieu Velten <matmaul@gmail.com>2020-09-18 12:35:41 +0200
committerGitHub <noreply@github.com>2020-09-18 11:35:41 +0100
commitb8d7ca9946ca770bd960b2e2f1316210a7c51cc9 (patch)
treecefd8aa9fa45bfd9efe9955a948ecdc551b7aff4 /synapse
parentMake AccessRules use the public rooms directory instead of checking a room's ... (diff)
downloadsynapse-b8d7ca9946ca770bd960b2e2f1316210a7c51cc9.tar.xz
Make all rooms noisy by default (#60)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/push/baserules.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py

index 286374d0b5..204d2d83f6 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py
@@ -335,7 +335,11 @@ BASE_APPEND_UNDERRIDE_RULES = [ "_id": "_message", } ], - "actions": ["notify", {"set_tweak": "highlight", "value": False}], + "actions": [ + "notify", + {"set_tweak": "sound", "value": "default"}, + {"set_tweak": "highlight", "value": False}, + ], }, # XXX: this is going to fire for events which aren't m.room.messages # but are encrypted (e.g. m.call.*)... @@ -349,7 +353,11 @@ BASE_APPEND_UNDERRIDE_RULES = [ "_id": "_encrypted", } ], - "actions": ["notify", {"set_tweak": "highlight", "value": False}], + "actions": [ + "notify", + {"set_tweak": "sound", "value": "default"}, + {"set_tweak": "highlight", "value": False}, + ], }, ]