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