Skip to main content

get_profile_handler

Function get_profile_handler 

Source
async fn get_profile_handler(
    state: State<ServerState>,
    __arg1: UnauthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, ProfileQueryError>
Expand description

Handler for GET /_matrix/client/v3/profile/{userId} (See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuserid).

This endpoint is used to query a profile.