Skip to content

Commit

Permalink
Add push rule for m.room.server_acl (#1190)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
richvdh and turt2live committed Aug 2, 2022
1 parent b58c7a5 commit f24cad1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1190.feature
@@ -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).
27 changes: 27 additions & 0 deletions content/client-server-api/modules/push.md
Expand Up @@ -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
Expand Down

0 comments on commit f24cad1

Please sign in to comment.