Use Ruma's redact_content_in_place instead of custom implementation
This commit is contained in:
parent
9646439a94
commit
520806d413
2 changed files with 8 additions and 42 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue