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