Skip to content

Commit

Permalink
Document .m.rule.suppress_edits push rule (MSC3958). (matrix-org#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Sep 5, 2023
1 parent a1b8329 commit 5e938f2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1617.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add the `m.rule.suppress_edits` default push rule from [MSC3958](https://github.com/matrix-org/matrix-spec-proposals/pull/3958).
24 changes: 24 additions & 0 deletions content/client-server-api/modules/push.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`**
Expand Down

0 comments on commit 5e938f2

Please sign in to comment.