Skip to main content

check_room_redaction

Function check_room_redaction 

Source
fn check_room_redaction<Pdu>(
    room_redaction_event: &Pdu,
    current_room_power_levels_event: Option<&RoomPowerLevelsEvent<Pdu>>,
    rules: &AuthorizationRules,
    sender_level: UserPowerLevel,
) -> Result
where Pdu: Event,
Expand description

Check whether the given event passes the m.room.redaction authorization rules.