diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 68bf3963..7e593a16 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -1089,10 +1089,10 @@ impl Client { } #[allow(missing_docs)] - pub async fn room_send_attachment<'a, R: Read>( + pub async fn room_send_attachment( &self, room_id: &RoomId, - reader: &'a mut R, + reader: &mut R, txn_id: Option, ) -> Result { #[cfg(not(feature = "encryption"))]