Matrix rust sdk : use tempDir in LoadMediaFile

This commit is contained in:
ganfra 2023-06-08 17:02:45 +02:00
parent d54b8c4733
commit 1b831d0f4d

View file

@ -75,8 +75,7 @@ class RustMediaLoader(
mediaSource = mediaSource,
body = body,
mimeType = mimeType ?: "application/octet-stream",
//TODO uncomment when rust api will be merged
//tempDir = cacheDirectory.path,
tempDir = cacheDirectory.path,
)
RustMediaFile(mediaFile)
}