mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
options to control public room directory visibility
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
1 parent
76c00283de
commit
81e8df3102
5 files changed
+65
No files matched your search
@@ -299,6 +299,14 @@ impl Service {
|
||||
self.config.allow_federation
|
||||
}
|
||||
|
||||
pub fn allow_public_room_directory_over_federation(&self) -> bool {
|
||||
self.config.allow_public_room_directory_over_federation
|
||||
}
|
||||
|
||||
pub fn allow_public_room_directory_without_auth(&self) -> bool {
|
||||
self.config.allow_public_room_directory_without_auth
|
||||
}
|
||||
|
||||
pub fn allow_room_creation(&self) -> bool {
|
||||
self.config.allow_room_creation
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user