From 5215fbe695e1712a4174d251388c72712184c549 Mon Sep 17 00:00:00 2001 From: strawberry Date: Thu, 23 May 2024 23:12:44 -0400 Subject: [PATCH] drop redaction calculated hash log to debug_info this is normal redactions. no valid reason this needs to be warn as it just causes confusion. Signed-off-by: strawberry --- src/service/rooms/event_handler/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/rooms/event_handler/mod.rs b/src/service/rooms/event_handler/mod.rs index b7841f0b..c5a336c7 100644 --- a/src/service/rooms/event_handler/mod.rs +++ b/src/service/rooms/event_handler/mod.rs @@ -304,7 +304,7 @@ impl Service { }, Ok(ruma::signatures::Verified::Signatures) => { // Redact - warn!("Calculated hash does not match: {}", event_id); + debug_info!("Calculated hash does not match (redaction): {event_id}"); let Ok(obj) = ruma::canonical_json::redact(value, &room_version_id, None) else { return Err(Error::BadRequest(ErrorKind::InvalidParam, "Redaction failed")); };