diff --git a/src/api/client_server/media.rs b/src/api/client_server/media.rs index a00f0abb..4eb01d35 100644 --- a/src/api/client_server/media.rs +++ b/src/api/client_server/media.rs @@ -92,7 +92,7 @@ pub async fn get_remote_content( Ok(content_response) } -/// # `GET /_matrix/media/r0/download/{serverName}/{mediaId}` +/// # `GET /_matrix/media/v3/download/{serverName}/{mediaId}` /// /// Load media from our server or over federation. /// @@ -123,7 +123,7 @@ pub async fn get_content_route( } } -/// # `GET /_matrix/media/r0/download/{serverName}/{mediaId}/{fileName}` +/// # `GET /_matrix/media/v3/download/{serverName}/{mediaId}/{fileName}` /// /// Load media from our server or over federation, permitting desired filename. /// @@ -158,7 +158,7 @@ pub async fn get_content_as_filename_route( } } -/// # `GET /_matrix/media/r0/thumbnail/{serverName}/{mediaId}` +/// # `GET /_matrix/media/v3/thumbnail/{serverName}/{mediaId}` /// /// Load media thumbnail from our server or over federation. /// diff --git a/src/api/client_server/message.rs b/src/api/client_server/message.rs index badb089b..d332bcff 100644 --- a/src/api/client_server/message.rs +++ b/src/api/client_server/message.rs @@ -14,7 +14,7 @@ use std::{ sync::Arc, }; -/// # `PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}` +/// # `PUT /_matrix/client/v3/rooms/{roomId}/send/{eventType}/{txnId}` /// /// Send a message event into the room. ///