make allow_federation default to true
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
c329eb197d
commit
24605e151d
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue