Skip to main content

leave_room_route

Function leave_room_route 

Source
pub(crate) async fn leave_room_route(
    __arg0: State<State>,
    __arg1: Args<Request>,
) -> Result<Response>
Expand description

Leaves a room through POST /_matrix/client/v3/rooms/{roomId}/leave.

Server-notice invitations cannot be rejected, but joined recipients can leave.