From 8d42351e34eaf38a8a979bad681c7f836ddb187b Mon Sep 17 00:00:00 2001 From: strawberry Date: Tue, 16 Jan 2024 20:26:08 -0500 Subject: [PATCH] add presence options to show-config admin cmd Signed-off-by: strawberry --- src/config/mod.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/config/mod.rs b/src/config/mod.rs index 567870a8..3b03a7a5 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -214,6 +214,18 @@ impl fmt::Display for Config { ), ("Allow encryption", &self.allow_encryption.to_string()), ("Allow federation", &self.allow_federation.to_string()), + ( + "Allow incoming federated presence requests (updates)", + &self.allow_incoming_presence.to_string(), + ), + ( + "Allow outgoing federated presence requests (updates)", + &self.allow_outgoing_presence.to_string(), + ), + ( + "Allow local presence requests (updates)", + &self.allow_local_presence.to_string(), + ), ( "Allow device name federation", &self.allow_device_name_federation.to_string(),