From 72962c6402b67869178e4a08455515c5f16ce9c5 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Thu, 30 May 2024 09:30:13 -0700 Subject: [PATCH] enable allow_federation config by default We inherited the disabled-by-default setting from conduit. Conduwuit change it to enabled-by-default in [1]. This can make things confusing for users migrating from conduwuit to grapevine, especially since we currently do not log a warning when federation is disabled. [1]: https://github.com/girlbossceo/conduwuit/commit/24605e151d735080bc53074fcccc66f6d37e7248 --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 2ea4c313..88e07794 100644 --- a/src/config.rs +++ b/src/config.rs @@ -49,7 +49,7 @@ pub(crate) struct Config { pub(crate) registration_token: Option, #[serde(default = "true_fn")] pub(crate) allow_encryption: bool, - #[serde(default = "false_fn")] + #[serde(default = "true_fn")] pub(crate) allow_federation: bool, #[serde(default = "true_fn")] pub(crate) allow_room_creation: bool,