Skip to content
Snippets Groups Projects
Commit 590b544f authored by David Baker's avatar David Baker
Browse files

Add default rule to suppress notices.

parent ed72fc3a
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,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': [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment