From ff3ccc77aa43211c9839274230aa04aea49df510 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 4 Mar 2026 07:53:22 +0000 Subject: [PATCH] List a sentinel value for encryption_enabled_by_default to avoid confusion. Signed-off-by: Jason Volk --- src/core/config/mod.rs | 1 + tuwunel-example.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index c72d49ce..60bec4dc 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -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, diff --git a/tuwunel-example.toml b/tuwunel-example.toml index fa02a7a5..9e271cfc 100644 --- a/tuwunel-example.toml +++ b/tuwunel-example.toml @@ -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