mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Matrix rust sdk : use tempDir in LoadMediaFile
This commit is contained in:
+1
-2
@@ -75,8 +75,7 @@ class RustMediaLoader(
|
|||||||
mediaSource = mediaSource,
|
mediaSource = mediaSource,
|
||||||
body = body,
|
body = body,
|
||||||
mimeType = mimeType ?: "application/octet-stream",
|
mimeType = mimeType ?: "application/octet-stream",
|
||||||
//TODO uncomment when rust api will be merged
|
tempDir = cacheDirectory.path,
|
||||||
//tempDir = cacheDirectory.path,
|
|
||||||
)
|
)
|
||||||
RustMediaFile(mediaFile)
|
RustMediaFile(mediaFile)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user