Skip to main content

get_user_for_user_id_handler

Function get_user_for_user_id_handler 

Source
async fn get_user_for_user_id_handler(
    database: State<DefaultDb>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, ThirdPartyError>
Expand description

Handler for GET /_matrix/client/v3/thirdparty/user (See https://spec.matrix.org/v1.15/client-server-api/#get_matrixclientv3thirdpartyuser).

Retrieve the always empty array of third-party users from a Matrix User ID.

If the user does not exist, a 404 - Not Found is returned. Otherwise, returns an empty array since there are no supported third-parties for now.