We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d976d0 commit 95ae5d1Copy full SHA for 95ae5d1
bindings/matrix-sdk-ffi/src/client.rs
@@ -414,7 +414,7 @@ impl Client {
414
pub async fn get_media_file(
415
&self,
416
media_source: Arc<MediaSource>,
417
- body: Option<String>,
+ filename: Option<String>,
418
mime_type: String,
419
use_cache: bool,
420
temp_dir: Option<String>,
@@ -427,7 +427,7 @@ impl Client {
427
.media()
428
.get_media_file(
429
&MediaRequest { source, format: MediaFormat::File },
430
- body,
+ filename,
431
&mime_type,
432
use_cache,
433
temp_dir,
0 commit comments