Function ruma::state_res::event_auth::check_event_sender_in_room [−][src]
pub fn check_event_sender_in_room<E>(
sender: &UserId,
auth_events: &BTreeMap<(EventType, String), Arc<E>>
) -> Option<bool> where
E: Event,
This is supported on crate feature
state-res
only.Expand description
Is the event’s sender in the room that they sent the event to.