Document .m.rule.suppress_edits push rule (MSC3958). (#1617)
This commit is contained in:
parent
a1b832960c
commit
5e938f2b83
2 changed files with 25 additions and 0 deletions
1
changelogs/client_server/newsfragments/1617.feature
Normal file
1
changelogs/client_server/newsfragments/1617.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Add the `m.rule.suppress_edits` default push rule from [MSC3958](https://github.com/matrix-org/matrix-spec-proposals/pull/3958).
|
|
@ -750,6 +750,30 @@ Definition:
|
|||
}
|
||||
```
|
||||
|
||||
**`.m.rule.suppress_edits`**
|
||||
|
||||
{{% added-in v="1.9" %}}
|
||||
|
||||
Suppresses notifications related to [event replacements](#event-replacements).
|
||||
|
||||
Definition:
|
||||
|
||||
```json
|
||||
{
|
||||
"rule_id": ".m.rule.suppress_edits",
|
||||
"default": true,
|
||||
"enabled": true,
|
||||
"conditions": [
|
||||
{
|
||||
"kind": "event_property_is",
|
||||
"key": "content.m\\.relates_to.rel_type",
|
||||
"value": "m.replace"
|
||||
}
|
||||
],
|
||||
"actions": []
|
||||
}
|
||||
```
|
||||
|
||||
##### Default Content Rules
|
||||
|
||||
<a id="_m_rule_contains_user_name"/> **`.m.rule.contains_user_name`**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue