mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-19 01:44:09 +01:00
Add private_chat_shared_power
This commit is contained in:
parent
18dc7784df
commit
73b4090f52
|
|
@ -756,15 +756,18 @@ options which can be set when creating a room:
|
||||||
Optional:
|
Optional:
|
||||||
Yes
|
Yes
|
||||||
Value:
|
Value:
|
||||||
``private_chat`` or ``public_chat``
|
``private_chat``, ``private_chat_shared_power`` or ``public_chat``
|
||||||
Description:
|
Description:
|
||||||
Convenience parameter for setting various default state events based on a
|
Convenience parameter for setting various default state events based on a
|
||||||
preset.
|
preset.
|
||||||
|
|
||||||
Two presets are defined:
|
Three presets are defined:
|
||||||
|
|
||||||
- ``private_chat``: Sets the ``join_rules`` to ``invite`` and
|
- ``private_chat``: Sets the ``join_rules`` to ``invite`` and
|
||||||
``history_visibility`` to ``shared``
|
``history_visibility`` to ``shared``
|
||||||
|
- ``private_chat_shared_power``: Set the ``join_rules`` to
|
||||||
|
``invite``, ``history_visibility`` to ``shared`` and gives all invitees
|
||||||
|
the same power level as the creator.
|
||||||
- ``public_chat``: Sets the ``join_rules`` to ``public`` and
|
- ``public_chat``: Sets the ``join_rules`` to ``public`` and
|
||||||
``history_visibility`` to ``shared``
|
``history_visibility`` to ``shared``
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue