add .m.rule.suppress_notices
This commit is contained in:
parent
b6dd67129e
commit
04b8c661d0
1 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue