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 <strawberry@puppygock.gay>
This commit is contained in:
parent
dc9fe657d5
commit
5215fbe695
|
@ -304,7 +304,7 @@ impl Service {
|
||||||
},
|
},
|
||||||
Ok(ruma::signatures::Verified::Signatures) => {
|
Ok(ruma::signatures::Verified::Signatures) => {
|
||||||
// Redact
|
// 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 {
|
let Ok(obj) = ruma::canonical_json::redact(value, &room_version_id, None) else {
|
||||||
return Err(Error::BadRequest(ErrorKind::InvalidParam, "Redaction failed"));
|
return Err(Error::BadRequest(ErrorKind::InvalidParam, "Redaction failed"));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue