add config option for logging guest regs in admin room

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

View file

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