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>
pull/1483/head
Travis Ralston 2 years ago committed by GitHub
parent ac8d34bc81
commit 7670a74116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: |-
The default level required to send state events. Can be overridden
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
users:
additionalProperties:

Loading…
Cancel
Save