From bffd1daeeb008975b491ea74d6cb6ced05f4045f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 30 Mar 2023 12:20:57 -0600 Subject: [PATCH] Mention that `state_default` can be zero by default. --- data/event-schemas/schema/m.room.power_levels.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/event-schemas/schema/m.room.power_levels.yaml b/data/event-schemas/schema/m.room.power_levels.yaml index a24b2e44..3beed1d8 100644 --- a/data/event-schemas/schema/m.room.power_levels.yaml +++ b/data/event-schemas/schema/m.room.power_levels.yaml @@ -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 power levels event in the room, this defaults + to 0. See description for more information. type: integer users: additionalProperties: