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:
parent
85814e96e3
commit
973fed155e
4 changed files with 30 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue