option to control federating device display names
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
parent
81e8df3102
commit
1b75d384d7
5 changed files with 47 additions and 10 deletions
|
@ -307,6 +307,10 @@ impl Service {
|
|||
self.config.allow_public_room_directory_without_auth
|
||||
}
|
||||
|
||||
pub fn allow_device_name_federation(&self) -> bool {
|
||||
self.config.allow_device_name_federation
|
||||
}
|
||||
|
||||
pub fn allow_room_creation(&self) -> bool {
|
||||
self.config.allow_room_creation
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue