Set default value for encryption_enabled_by_default_for_room_type

This commit is contained in:
dasha_uwu
2026-03-06 22:02:44 +05:00
committed by Jason Volk
parent 88bec526cb
commit 9246636b87
2 changed files with 3 additions and 1 deletions

View File

@@ -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<String>,

View File

@@ -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