element-x-ada/features/messages/impl
Marco Romano b83d8733e2
Don't leak MediaFileHandle when downloading voice messages (#1748)
Uses the new `MediaFile.persist()` [API](https://github.com/matrix-org/matrix-rust-sdk/pull/2789) to cache voice messages.
This allows to close the `MediaFile` handle after use and keeping the file.
Also disables rust sdk caching for voice messages as we'll use the app's cache dir for that purpose.

Fixes: https://github.com/vector-im/element-meta/issues/2175
2023-11-09 14:15:11 +00:00
..
src Don't leak MediaFileHandle when downloading voice messages (#1748) 2023-11-09 14:15:11 +00:00
.gitignore Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
build.gradle.kts Add analytics for voice messages (#1706) 2023-11-02 09:32:22 +00:00
consumer-rules.pro Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00