Skip to main content

extract_redaction_target

Function extract_redaction_target 

pub fn extract_redaction_target(
    event: &Raw<AnySyncTimelineEvent>,
    redaction_rules: &RedactionRules,
) -> Option<OwnedEventId>
Expand description

Try to extract the event ID of the event targeted by event if it is of type m.room.redaction.