File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
crates/matrix-sdk-ui/src/timeline Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -529,22 +529,21 @@ impl Timeline {
529
529
Ok ( ( ) )
530
530
}
531
531
532
- /// Sends an attachment to the room. It does not currently support local
533
- /// echoes
532
+ /// Sends an attachment to the room.
533
+ ///
534
+ /// It does not currently support local echoes.
534
535
///
535
536
/// If the encryption feature is enabled, this method will transparently
536
537
/// encrypt the room message if the room is encrypted.
537
538
///
538
539
/// # Arguments
539
540
///
540
- /// * `path` - The path of the file to be sent
541
+ /// * `path` - The path of the file to be sent.
541
542
///
542
- /// * `mime_type` - The attachment's mime type
543
+ /// * `mime_type` - The attachment's mime type.
543
544
///
544
545
/// * `config` - An attachment configuration object containing details about
545
- /// the attachment
546
- ///
547
- /// like a thumbnail, its size, duration etc.
546
+ /// the attachment like a thumbnail, its size, duration etc.
548
547
#[ instrument( skip_all) ]
549
548
pub fn send_attachment (
550
549
& self ,
You can’t perform that action at this time.
0 commit comments