Use Ruma's redact_content_in_place instead of custom implementation

This commit is contained in:
Val Lorentz 2023-12-01 19:08:24 +01:00
parent 9646439a94
commit 520806d413
2 changed files with 8 additions and 42 deletions

View file

@ -80,6 +80,8 @@ pub enum Error {
#[cfg(feature = "conduit_bin")]
#[error("{0}")]
PathError(#[from] axum::extract::rejection::PathRejection),
#[error("from {0}: {1}")]
RedactionError(OwnedServerName, ruma::canonical_json::RedactionError),
}
impl Error {