Skip to main content

get_redaction_rules

Function get_redaction_rules 

Source
const fn get_redaction_rules(room_version: &RoomVersionRules) -> &RedactionRules
Expand description

Get the redaction rules for a room version.

This function extracts the appropriate RedactionRules from a RoomVersionRules instance.