pub fn redact_content_in_place(
object: &mut BTreeMap<String, CanonicalJsonValue>,
version: &RoomVersionId,
event_type: impl AsRef<str>,
) -> Result<(), RedactionError>
Available on crate feature
canonical-json
only.Expand description
Redacts event content using the rules specified in the Matrix client-server specification.
Edits the object
in-place.