improvement: change federation_enabled to federation_disabled

This enables federation by default
This commit is contained in:
Timo Kösters 2021-01-01 10:52:43 +01:00
parent edfd3c1f34
commit 85364a9c27
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
3 changed files with 12 additions and 12 deletions

View file

@ -119,8 +119,8 @@ impl Globals {
self.config.encryption_disabled
}
pub fn federation_enabled(&self) -> bool {
self.config.federation_enabled
pub fn federation_disabled(&self) -> bool {
self.config.federation_disabled
}
pub fn dns_resolver(&self) -> &TokioAsyncResolver {