mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Improve presentation of "definitions" in PDU checks
Use a definition list for this thing.
This commit is contained in:
parent
5d40118116
commit
0200657422
|
|
@ -437,21 +437,22 @@ them.
|
|||
|
||||
#### Definitions
|
||||
|
||||
**Required Power Level** \
|
||||
A given event type has an associated *required power level*. This is
|
||||
given by the current `m.room.power_levels` event. The event type is
|
||||
either listed explicitly in the `events` section or given by either
|
||||
`state_default` or `events_default` depending on if the event is a state
|
||||
event or not.
|
||||
Required Power Level
|
||||
|
||||
**Invite Level, Kick Level, Ban Level, Redact Level** \
|
||||
The levels given by the `invite`, `kick`, `ban`, and `redact` properties
|
||||
in the current `m.room.power_levels` state. Each defaults to 50 if
|
||||
unspecified.
|
||||
: A given event type has an associated *required power level*. This is given by
|
||||
the current `m.room.power_levels` event. The event type is either listed
|
||||
explicitly in the `events` section or given by either `state_default` or
|
||||
`events_default` depending on if the event is a state event or not.
|
||||
|
||||
**Target User** \
|
||||
For an `m.room.member` state event, the user given by the `state_key` of
|
||||
the event.
|
||||
Invite Level, Kick Level, Ban Level, Redact Level
|
||||
|
||||
: The levels given by the `invite`, `kick`, `ban`, and `redact` properties in
|
||||
the current `m.room.power_levels` state. Each defaults to 50 if unspecified.
|
||||
|
||||
Target User
|
||||
|
||||
: For an `m.room.member` state event, the user given by the `state_key` of the
|
||||
event.
|
||||
|
||||
{{% boxes/warning %}}
|
||||
Some [room versions](/rooms) accept power level values to be represented as
|
||||
|
|
|
|||
Loading…
Reference in a new issue