diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index fd94ae7b..a54b4f1e 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -604,6 +604,8 @@ pub struct Config { /// `trusted_private_chat` presets. /// - "none": Explicit value for no effect. /// - Other values default to no effect. + /// + /// default: "none" #[serde(default)] pub encryption_enabled_by_default_for_room_type: Option, diff --git a/tuwunel-example.toml b/tuwunel-example.toml index 10651f84..0307f2db 100644 --- a/tuwunel-example.toml +++ b/tuwunel-example.toml @@ -475,7 +475,7 @@ # - "none": Explicit value for no effect. # - Other values default to no effect. # -#encryption_enabled_by_default_for_room_type = false +#encryption_enabled_by_default_for_room_type = "none" # Controls whether federation is allowed or not. It is not recommended to # disable this after installation due to potential federation breakage but