add .m.rule.suppress_notices

This commit is contained in:
David Baker 2015-03-04 15:31:49 +00:00
parent b6dd67129e
commit 04b8c661d0

View file

@ -177,6 +177,25 @@ with these IDs, their semantics should match those given below:
], ],
} }
.m.rule.suppress_notices
Matches messages with 'msgtype' of 'notice'.
Definition::
{
'rule_id': '.m.rule.suppress_notices',
'conditions': [
{
'kind': 'event_match',
'key': 'content.msgtype',
'pattern': 'm.notice',
}
],
'actions': [
'dont-notify',
]
}
.m.rule.fallback .m.rule.fallback
Matches any message. Used to define the behaviour of messages that match no Matches any message. Used to define the behaviour of messages that match no
other rules. Therefore, if Home Servers define this, it should be the lowest other rules. Therefore, if Home Servers define this, it should be the lowest