feat: automatically join rooms on registration

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-20 11:19:41 -04:00 committed by June
parent 2ca357e44c
commit 7066b7b428
5 changed files with 48 additions and 4 deletions

View file

@ -327,6 +327,8 @@ impl Service<'_> {
pub fn turn_secret(&self) -> &String { &self.config.turn_secret }
pub fn auto_join_rooms(&self) -> &[OwnedRoomId] { &self.config.auto_join_rooms }
pub fn notification_push_path(&self) -> &String { &self.config.notification_push_path }
pub fn emergency_password(&self) -> &Option<String> { &self.config.emergency_password }