make allow_federation default to true

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-27 16:28:57 -05:00 committed by June
parent c329eb197d
commit 24605e151d
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ pub struct Config {
pub registration_token: Option<String>,
#[serde(default = "true_fn")]
pub allow_encryption: bool,
#[serde(default)]
#[serde(default = "true_fn")]
pub allow_federation: bool,
#[serde(default)]
pub allow_public_room_directory_over_federation: bool,