diff options
author | anoadragon453 <anoadragon453@users.noreply.github.com> | 2024-07-18 12:34:13 +0000 |
---|---|---|
committer | anoadragon453 <anoadragon453@users.noreply.github.com> | 2024-07-18 12:34:13 +0000 |
commit | 8158cc7d84ef53af6b7cf8bebca120c42e45720c (patch) | |
tree | b8b5e3bb27c5645ea3c75ab108905dad3a38832a /develop/usage/configuration/config_documentation.html | |
parent | deploy: 3fee32ed6be7eeb5845b0ce199ba29fa49fdd41e (diff) | |
download | synapse-8158cc7d84ef53af6b7cf8bebca120c42e45720c.tar.xz |
deploy: 6a01af59e14b67960e290c26131249fb8c833293
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r-- | develop/usage/configuration/config_documentation.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html index 1558c15ce3..4a994d18c0 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html @@ -3714,6 +3714,33 @@ except <code>com.example.foo</code>.</p> trusted_private_chat: null public_chat: null </code></pre> +<p>The default power levels for each preset are:</p> +<pre><code class="language-yaml">"m.room.name": 50 +"m.room.power_levels": 100 +"m.room.history_visibility": 100 +"m.room.canonical_alias": 50 +"m.room.avatar": 50 +"m.room.tombstone": 100 +"m.room.server_acl": 100 +"m.room.encryption": 100 +</code></pre> +<p>So a complete example where the default power-levels for a preset are maintained +but the power level for a new key is set is:</p> +<pre><code class="language-yaml">default_power_level_content_override: + private_chat: + events: + "com.example.foo": 0 + "m.room.name": 50 + "m.room.power_levels": 100 + "m.room.history_visibility": 100 + "m.room.canonical_alias": 50 + "m.room.avatar": 50 + "m.room.tombstone": 100 + "m.room.server_acl": 100 + "m.room.encryption": 100 + trusted_private_chat: null + public_chat: null +</code></pre> <hr /> <h3 id="forget_rooms_on_leave"><a class="header" href="#forget_rooms_on_leave"><code>forget_rooms_on_leave</code></a></h3> <p>Set to true to automatically forget rooms for users when they leave them, either |