style: Fix failing lints

This commit is contained in:
timedout 2026-01-05 12:45:01 +00:00 committed by Jade Ellis
parent 006c57face
commit 279f7cbfe4
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 5 additions and 4 deletions

View file

@ -346,7 +346,7 @@ pub async fn join_room_by_id_helper(
{
warn!("Antispam prevented user {} from joining room {}: {}", sender_user, room_id, e);
return Err!(Request(Forbidden("Antispam rejected join request.")));
};
}
}
if server_in_room {
@ -786,7 +786,7 @@ async fn join_room_by_id_helper_local(
}
},
| _ => {},
};
}
let join_authorized_via_users_server = if restricted_join_authorized.is_none() {
None
} else {
@ -848,7 +848,7 @@ async fn join_room_by_id_helper_local(
warn!(
?error,
remote_servers = %servers.len()-1,
servers = %servers.len(),
"Could not join restricted room locally, attempting remote join",
);
let Ok((make_join_response, remote_server)) =