Fix incorrect default "Invite level" (#1371)

pull/1384/head
Richard van der Hoff 2 years ago committed by GitHub
parent 5d40118116
commit 9555cbe5a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Correct the default invite level definition in the "Checks performed on receipt of a PDU" section.

@ -437,21 +437,25 @@ them.
#### Definitions #### Definitions
**Required Power Level** \ 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 : A given event type has an associated *required power level*. This is given by
either listed explicitly in the `events` section or given by either the current [`m.room.power_levels`](/client-server-api/#mroompower_levels)
`state_default` or `events_default` depending on if the event is a state event. The event type is either listed explicitly in the `events` section or
event or not. given by either `state_default` or `events_default` depending on if the event
is a state event or not.
**Invite Level, Kick Level, Ban Level, Redact Level** \
The levels given by the `invite`, `kick`, `ban`, and `redact` properties Invite Level, Kick Level, Ban Level, Redact Level
in the current `m.room.power_levels` state. Each defaults to 50 if
unspecified. : The levels given by the `invite`, `kick`, `ban`, and `redact` properties in
the current [`m.room.power_levels`](/client-server-api/#mroompower_levels)
**Target User** \ state. The invite level defaults to 0 if unspecified. The kick level, ban level
For an `m.room.member` state event, the user given by the `state_key` of and redact level each default to 50 if unspecified.
the event.
Target User
: For an [`m.room.member`](/client-server-api/#mroommember) state event, the
user given by the `state_key` of the event.
{{% boxes/warning %}} {{% boxes/warning %}}
Some [room versions](/rooms) accept power level values to be represented as Some [room versions](/rooms) accept power level values to be represented as

Loading…
Cancel
Save