Skip to main content

can_submit_event

Function can_submit_event 

Source
pub fn can_submit_event(
    event_type: &str,
    context: &PermissionContext,
    registry: &TypeRegistry,
) -> bool
Expand description

Role check for one event type, using kind defaults and per-type overrides from the room’s type registry. State checks are separate.