Skip to main content

forget_room_route

Function forget_room_route 

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

§POST /_matrix/client/v3/rooms/{roomId}/forget

Forgets a room the sender user has left.

A user still joined, knocked, or invited must leave the room first. Any other call succeeds, including a repeat and one for a room whose state the server no longer holds.

The user’s other devices have no way of knowing the room was forgotten, so this has to be called from every device.