mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 05:54:09 +01:00
Add push rule for m.room.server_acl
... per MSC3786.
This commit is contained in:
parent
91aebd62c4
commit
85491d8921
1
changelogs/client_server/newsfragments/1190.feature
Normal file
1
changelogs/client_server/newsfragments/1190.feature
Normal 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).
|
||||||
|
|
@ -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`**
|
**`.m.rule.roomnotif`**
|
||||||
|
|
||||||
Matches any message whose content is unencrypted and contains the text
|
Matches any message whose content is unencrypted and contains the text
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue