Skip to main content

enforce_stripped_state

Function enforce_stripped_state 

Source
async fn enforce_stripped_state(
    services: &Services,
    body: &Args<Request>,
    stripped_state: &[RawStrippedState],
) -> Result
Expand description

Validate the create event in the invite’s stripped state (MSC4311) and reject the invite when the operator’s policy requires it.