0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-02 12:48:57 +01:00

Add default rule to suppress notices.

This commit is contained in:
David Baker 2015-03-04 15:29:02 +00:00
parent ed72fc3a50
commit 590b544f67

View file

@ -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': [