add client IP and user logging on join, remove unnecessary Option

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-07-07 15:02:09 -04:00 committed by June 🍓🦴
parent 93e7cf461d
commit 0fa6976d86
3 changed files with 7 additions and 7 deletions

View file

@ -376,7 +376,7 @@ pub(crate) async fn register_route(
if let Some(room_id_server_name) = room.server_name() {
if let Err(e) = join_room_by_id_helper(
Some(&user_id),
&user_id,
room,
Some("Automatically joining this room upon registration".to_owned()),
&[room_id_server_name.to_owned(), services().globals.server_name().to_owned()],