logo
pub fn redact_content_in_place(
    object: &mut CanonicalJsonObject,
    version: &RoomVersionId,
    event_type: impl AsRef<str>
)
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.