Add push rule for m.room.server_acl

... per MSC3786.
This commit is contained in:
Richard van der Hoff 2022-08-02 13:13:52 +01:00
parent 91aebd62c4
commit 85491d8921
2 changed files with 28 additions and 0 deletions

View file

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

View file

@ -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