Matrix rust sdk : use tempDir in LoadMediaFile
This commit is contained in:
parent
d54b8c4733
commit
1b831d0f4d
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue