StructsΒ§
- User
Profile π
FunctionsΒ§
- get_
profile π - This function calls the GET profile endpoint
Spec: https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuserid
Ruma: https://docs.rs/ruma-client-api/latest/ruma_client_api/profile/get_profile/v3/index.html
The Matrix spec does not require authentication for this endpoint. However,
some server configurations (e.g. Synapseβs
require_auth_for_profile_requests) enforce auth to prevent user enumeration, which will causeclient.send()to return a 401 error. - get_
profile_ πauthenticated - This function calls the GET profile endpoint using the authenticated client. It should succeed even if the server requires auth for profile requests.
- login π
- main π