feat: Use info level logs for residency check failures

This commit is contained in:
timedout
2026-01-27 23:26:14 +00:00
committed by Ellis Git
parent 76fe8c4cdc
commit 082ed5b70c
14 changed files with 88 additions and 25 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
use std::borrow::ToOwned;
use axum::extract::State;
use conduwuit::{
Err, Error, Result, debug, debug_info, debug_warn, info, matrix::pdu::PduBuilder, warn,
};
use conduwuit::{Err, Error, Result, debug, debug_info, info, matrix::pdu::PduBuilder, warn};
use conduwuit_service::Services;
use futures::StreamExt;
use ruma::{
@@ -38,7 +36,7 @@ pub(crate) async fn create_join_event_template_route(
.server_in_room(services.globals.server_name(), &body.room_id)
.await
{
debug_warn!(
info!(
origin = body.origin().as_str(),
"Refusing to serve make_join for room we aren't participating in"
);