fix wrong warn message

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-17 15:15:52 -04:00 committed by June
parent d0a9666a29
commit a64cbd0304

View file

@ -1554,7 +1554,7 @@ pub async fn create_invite_route(body: Ruma<create_invite::v2::Request>) -> Resu
.contains(&server.to_owned())
{
warn!(
"Received federated/remote invite from banned server {sender_servername} for room ID {}. Rejecting.",
"Received federated/remote invite from server {sender_servername} for room ID {} which has a banned server name. Rejecting.",
body.room_id
);
return Err(Error::BadRequest(