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

pub fn check_redaction<E: Event>(
    _room_version: &RoomVersion,
    redaction_event: &Arc<E>,
    auth_events: &StateMap<Arc<E>>
) -> Result<bool>
Expand description

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