Skip to main content

run_shutdown

Function run_shutdown 

Source
async fn run_shutdown(
    services: &State,
    room_id: &RoomId,
    sender: &UserId,
    block: bool,
    purge: bool,
) -> ShutdownRoom
Expand description

Runs the shutdown, purging storage when asked and recording the room as blocked by the requesting admin. force_purge is not mapped: tuwunel always evicts local users before purging.