Function ruma_state_res::event_auth::get_send_level [−][src]
pub fn get_send_level<E: Event>(
e_type: &EventType,
state_key: Option<String>,
power_lvl: Option<&Arc<E>>
) -> i64
Expand description
Helper function to fetch the power level needed to send an event of type
e_type
based on the rooms “m.room.power_level” event.