Skip to main content

get_context_route

Function get_context_route 

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

ยงGET /_matrix/client/r0/rooms/{roomId}/context/{eventId}

Allows loading room history around an event.

  • Only works if the user is joined (TODO: always allow, but only show events if the user was joined, depending on history_visibility)