Skip to content

Commit 95ae5d1

Browse files
pixlwavebnjbvr
authored andcommitted
ffi: Rename get_media_file body parameter to filename.
1 parent 9d976d0 commit 95ae5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/matrix-sdk-ffi/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ impl Client {
414414
pub async fn get_media_file(
415415
&self,
416416
media_source: Arc<MediaSource>,
417-
body: Option<String>,
417+
filename: Option<String>,
418418
mime_type: String,
419419
use_cache: bool,
420420
temp_dir: Option<String>,
@@ -427,7 +427,7 @@ impl Client {
427427
.media()
428428
.get_media_file(
429429
&MediaRequest { source, format: MediaFormat::File },
430-
body,
430+
filename,
431431
&mime_type,
432432
use_cache,
433433
temp_dir,

0 commit comments

Comments
 (0)