|
|
@ -29,6 +29,17 @@ description: |-
|
|
|
|
to 50 if they are not specified in the ``m.room.power_levels`` event, or if
|
|
|
|
to 50 if they are not specified in the ``m.room.power_levels`` event, or if
|
|
|
|
the room contains no ``m.room.power_levels`` event.
|
|
|
|
the room contains no ``m.room.power_levels`` event.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. NOTE::
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As noted above, in the absence of an ``m.room.power_levels`` event, the
|
|
|
|
|
|
|
|
``state_default`` is 0, and all users are considered to have power level 0.
|
|
|
|
|
|
|
|
That means that **any** member of the room can send an
|
|
|
|
|
|
|
|
``m.room.power_levels`` event, changing the permissions in the room.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Server implementations should therefore ensure that each room has an
|
|
|
|
|
|
|
|
``m.room.power_levels`` event as soon as it is created. See also the
|
|
|
|
|
|
|
|
documentation of the ``/createRoom`` API.
|
|
|
|
|
|
|
|
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
content:
|
|
|
|
content:
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|