Skip to main content

get_member_events_route

Function get_member_events_route 

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

Lists the room’s member events at the current state or a token’s snapshot.

Accepts sync prev_batch/next_batch and /messages tokens. Visibility is decided from the caller’s current membership; Synapse decides it from the state at the token.