Function apply_redaction

Source
pub fn apply_redaction(
    event: &Raw<AnySyncTimelineEvent>,
    raw_redaction: &Raw<SyncRoomRedactionEvent>,
    rules: &RedactionRules,
) -> Option<Raw<AnySyncTimelineEvent>>
Expand description

Apply a redaction to the given target event, given the raw redaction event and the room version.