diff options
Diffstat (limited to '')
-rw-r--r-- | synapse/push/baserules.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py index c8c19f2a18..91c528cc19 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py @@ -105,6 +105,19 @@ def make_base_override_rules(): def make_base_underride_rules(): return [ { + 'rule_id': 'global/underride/.m.rule.suppress_notices', + 'conditions': [ + { + 'kind': 'event_match', + 'key': 'content.msgtype', + 'pattern': 'm.notice', + } + ], + 'actions': [ + 'dont-notify', + ] + }, + { 'rule_id': 'global/underride/.m.rule.fallback', 'conditions': [ ], |