pub fn extract_relation(
event: &Raw<AnySyncTimelineEvent>,
) -> Option<(RelationType, OwnedEventId)>Expand description
Try to extract the type and target of a relation, from a raw timeline event, if provided.
pub fn extract_relation(
event: &Raw<AnySyncTimelineEvent>,
) -> Option<(RelationType, OwnedEventId)>Try to extract the type and target of a relation, from a raw timeline event, if provided.