Function ruma::state_res::event_auth::check_redaction [−][src]
pub fn check_redaction<E>(
_room_version: &RoomVersion,
redaction_event: &Arc<E>,
auth_events: &BTreeMap<(EventType, String), Arc<E>>
) -> Result<bool, Error> where
E: Event,
This is supported on crate feature
state-res
only.Expand description
Does the event redacting come from a user with enough power to redact the given event.