add config option for allowing guests to auto join rooms

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-13 20:33:24 -04:00 committed by June
parent d95c02f575
commit eceef5efa2
4 changed files with 21 additions and 10 deletions

View file

@ -209,6 +209,8 @@ impl Service<'_> {
pub fn allow_guest_registration(&self) -> bool { self.config.allow_guest_registration }
pub fn allow_guests_auto_join_rooms(&self) -> bool { self.config.allow_guests_auto_join_rooms }
pub fn log_guest_registrations(&self) -> bool { self.config.log_guest_registrations }
pub fn allow_encryption(&self) -> bool { self.config.allow_encryption }