This commit is contained in:
Logan Devine 2026-07-14 00:56:27 +00:00 committed by GitHub
commit 063b10f24c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
Introduce room type `m.policy` to indicate rooms likely to contain policy lists, as per [MSC3784](https://github.com/matrix-org/matrix-spec-proposals/pull/3784).

View file

@ -3818,6 +3818,7 @@ the create room request.
In this specification the following room types are specified:
* [`m.space`](#spaces)
* [`m.policy`](#moderation-policy-lists)
Unspecified room types are permitted through the use of
[Namespaced Identifiers](/appendices/#common-namespaced-identifier-grammar).

View file

@ -22,6 +22,10 @@ restrictions on how the rooms can be configured in terms of
[join rules](#mroomjoin_rules), [history visibility](#room-history-visibility),
encryption, etc.
A moderation policy list may be designated by the [`m.policy` room type](#types),
however, policy events may still be sent in rooms without this room type. Sending
messages in rooms with the `m.policy` room type is discouraged, but not forbidden.
There are currently 3 kinds of entities which can be affected by rules:
`user`, `server`, and `room`. All 3 are described with
`m.policy.rule.<kind>` state events. The `state_key` for a policy rule