Document .m.rule.suppress_edits push rule (MSC3958). (#1617)

pull/1639/head
Patrick Cloke 1 year ago committed by GitHub
parent a1b832960c
commit 5e938f2b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 ##### Default Content Rules
<a id="_m_rule_contains_user_name"/> **`.m.rule.contains_user_name`** <a id="_m_rule_contains_user_name"/> **`.m.rule.contains_user_name`**

Loading…
Cancel
Save