doc: change matrix.org/docs/spec links to spec.matrix.org

This commit is contained in:
Nashwan Azhari
2026-01-31 21:23:20 +02:00
committed by Benjamin Bouvier
parent 2f7887d607
commit cb9690ecba
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ struct UserProfile {
}
/// This function calls the GET profile endpoint
/// Spec: <https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-profile-userid>
/// Spec: <https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3profileuserid>
/// Ruma: <https://docs.rs/ruma-client-api/0.9.0/ruma_client_api/r0/profile/get_profile/index.html>
async fn get_profile(client: Client, mxid: &UserId) -> MatrixResult<UserProfile> {
// First construct the request you want to make