mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
config option to allow/disallow federation profile requests
allow_profile_lookup_federation_requests Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
85814e96e3
commit
973fed155e
4 files changed
+30
-1
No files matched your search
@@ -260,6 +260,10 @@ impl Service<'_> {
|
||||
|
||||
pub fn auto_join_rooms(&self) -> &[OwnedRoomId] { &self.config.auto_join_rooms }
|
||||
|
||||
pub fn allow_profile_lookup_federation_requests(&self) -> bool {
|
||||
self.config.allow_profile_lookup_federation_requests
|
||||
}
|
||||
|
||||
pub fn notification_push_path(&self) -> &String { &self.config.notification_push_path }
|
||||
|
||||
pub fn emergency_password(&self) -> &Option<String> { &self.config.emergency_password }
|
||||
|
||||
Reference in new issue
Block a user