List a sentinel value for encryption_enabled_by_default to avoid confusion.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-03-04 07:53:22 +00:00
parent 8c8cc6d91e
commit ff3ccc77aa
2 changed files with 2 additions and 0 deletions

View File

@@ -602,6 +602,7 @@ pub struct Config {
/// - "all": All created rooms are encrypted.
/// - "invite": Any room created with `private_chat` or
/// `trusted_private_chat` presets.
/// - "none": Explicit value for no effect.
/// - Other values default to no effect.
#[serde(default)]
pub encryption_enabled_by_default_for_room_type: Option<String>,

View File

@@ -472,6 +472,7 @@
# - "all": All created rooms are encrypted.
# - "invite": Any room created with `private_chat` or
# `trusted_private_chat` presets.
# - "none": Explicit value for no effect.
# - Other values default to no effect.
#
#encryption_enabled_by_default_for_room_type = false