Function ruma_state_res::event_auth::check_redaction[][src]

pub fn check_redaction<E, F>(
    _room_version: &RoomVersion,
    redaction_event: &Arc<E>,
    fetch_state: F
) -> Result<bool> where
    E: Event,
    F: Fn(&EventType, &str) -> Option<Arc<E>>, 
Expand description

Does the event redacting come from a user with enough power to redact the given event.