Correct the default for invite
in m.room.power_levels
(#1021)
Per #860, this has been wrong in the spec forever.
This commit is contained in:
parent
03cdea4b57
commit
136b5c9231
2 changed files with 5 additions and 4 deletions
|
@ -0,0 +1 @@
|
||||||
|
Correct the default value for `invite` where it is not specified in an `m.room.power_levels` event.
|
|
@ -26,10 +26,10 @@ description: |-
|
||||||
|
|
||||||
The power level required to invite a user to the room, kick a user from the
|
The power level required to invite a user to the room, kick a user from the
|
||||||
room, ban a user from the room, or redact an event sent by another user, is
|
room, ban a user from the room, or redact an event sent by another user, is
|
||||||
defined by `invite`, `kick`, `ban`, and `redact`, respectively. Each
|
defined by `invite`, `kick`, `ban`, and `redact`, respectively. The levels
|
||||||
of these levels defaults to 50 if they are not specified in the
|
for `kick`, `ban` and `redact` default to 50 if they are not specified in the
|
||||||
`m.room.power_levels` event, or if the room contains no `m.room.power_levels`
|
`m.room.power_levels` event, or if the room contains no `m.room.power_levels`
|
||||||
event.
|
event. `invite` defaults to 0 in either case.
|
||||||
|
|
||||||
**Note:**
|
**Note:**
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ properties:
|
||||||
overridden by the `events` key. Defaults to 0 if unspecified.
|
overridden by the `events` key. Defaults to 0 if unspecified.
|
||||||
type: integer
|
type: integer
|
||||||
invite:
|
invite:
|
||||||
description: The level required to invite a user. Defaults to 50 if unspecified.
|
description: The level required to invite a user. Defaults to 0 if unspecified.
|
||||||
type: integer
|
type: integer
|
||||||
kick:
|
kick:
|
||||||
description: The level required to kick a user. Defaults to 50 if unspecified.
|
description: The level required to kick a user. Defaults to 50 if unspecified.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue