Skip to main content

get_state_events_route

Function get_state_events_route 

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

ยงGET /_matrix/client/v3/rooms/{roomid}/state

Get all state events for a room.

A caller who is not joined reads the state as of their departure if they left the room, and otherwise only while its history visibility admits them.