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>>, 
Expand description

Confirm that the event sender has the required power levels.