Function ruma::state_res::event_auth::can_send_invite [−][src]
pub fn can_send_invite<E>(
event: &Arc<E>,
auth_events: &BTreeMap<(EventType, String), Arc<E>>
) -> Result<bool, Error> where
E: Event,
This is supported on crate feature
state-res
only.Expand description
Check user can send invite.