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

@ -133,8 +133,8 @@ allow_registration = false
registration_token = "change this token for something specific to your server"
# controls whether federation is allowed or not
# defaults to false
allow_federation = true
# defaults to true
# allow_federation = true
# controls whether users are allowed to create rooms.
# appservices and admins are always allowed to create rooms

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,