Function ruma::state_res::event_auth::check_power_levels [−][src]
pub fn check_power_levels<E, F>(
room_version: &RoomVersion,
power_event: &Arc<E>,
fetch_state: F
) -> Option<bool> where
E: Event,
F: Fn(&EventType, &str) -> Option<Arc<E>>,
This is supported on crate feature
state-res
only.Expand description
Confirm that the event sender has the required power levels.