pub fn is_suitable_for_latest_event<'a>(
event: &'a AnySyncTimelineEvent,
power_levels_info: Option<(&'a UserId, &'a RoomPowerLevels)>,
) -> PossibleLatestEvent<'a>
Expand description
Decide whether an event could be stored as the latest event in a room. Returns a LatestEvent representing our decision.