mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Mention that state_default can be zero by default. (#1478)
* Mention that `state_default` can be zero by default. * Changelog * Update data/event-schemas/schema/m.room.power_levels.yaml Co-authored-by: Hubert Chathi <hubertc@matrix.org> --------- Co-authored-by: Hubert Chathi <hubertc@matrix.org>
This commit is contained in:
parent
ac8d34bc81
commit
7670a74116
|
|
@ -0,0 +1 @@
|
||||||
|
Further clarify that `state_default` on `m.room.power_levels` is 0 when no power levels event is in the room.
|
||||||
|
|
@ -75,6 +75,9 @@ properties:
|
||||||
description: |-
|
description: |-
|
||||||
The default level required to send state events. Can be overridden
|
The default level required to send state events. Can be overridden
|
||||||
by the `events` key. Defaults to 50 if unspecified.
|
by the `events` key. Defaults to 50 if unspecified.
|
||||||
|
|
||||||
|
**Note**: When there is no `m.room.power_levels` event in the room, this defaults
|
||||||
|
to 0. See description for more information.
|
||||||
type: integer
|
type: integer
|
||||||
users:
|
users:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue