Skip to main content

get_event_route

Function get_event_route 

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

§GET /_matrix/federation/v1/event/{eventId}

Retrieves a single event from the server.

The requesting server must be joined to the room, unless the room is world-readable or carries a pending knock. The room’s ACL and the event’s history visibility are checked independently; either can refuse.