Add push rule for `m.room.server_acl` (#1190)

* Add push rule for `m.room.server_acl`

... per MSC3786.

* Update changelogs/client_server/newsfragments/1190.feature

Co-authored-by: Travis Ralston <travisr@matrix.org>
pull/1196/head
Richard van der Hoff 2 years ago committed by GitHub
parent b58c7a5839
commit f24cad1653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Add a `.m.rule.room.server_acl` push rule to match `m.room.server_acl` events, as per [MSC3786](https://github.com/matrix-org/matrix-spec-proposals/pull/3786).

@ -520,6 +520,33 @@ Definition:
}
```
**`.m.rule.room.server_acl`**
Suppresses notifications for [`m.room.server_acl`](#mroomserver_acl) events.
Definition:
```json
{
"rule_id": ".m.rule.room.server_acl",
"default": true,
"enabled": true,
"conditions": [
{
"kind": "event_match",
"key": "type",
"pattern": "m.room.server_acl"
},
{
"kind": "event_match",
"key": "state_key",
"pattern": ""
}
],
"actions": []
}
```
**`.m.rule.roomnotif`**
Matches any message whose content is unencrypted and contains the text

Loading…
Cancel
Save