Merge pull request #1925 from vector-im/feature/bma/testAndroidMediaPreProcessor

Feature/bma/test android media pre processor
This commit is contained in:
Benoit Marty 2023-12-01 13:53:55 +01:00 committed by GitHub
commit b7361f2b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 385 additions and 6 deletions

View file

@ -580,7 +580,7 @@ class RustMatrixRoom(
onNewSyncedEvent = { _syncUpdateFlow.value = systemClock.epochMillis() }
)
private suspend fun sendAttachment(files: List<File>, handle: () -> SendAttachmentJoinHandle): Result<MediaUploadHandler> {
private fun sendAttachment(files: List<File>, handle: () -> SendAttachmentJoinHandle): Result<MediaUploadHandler> {
return runCatching {
MediaUploadHandlerImpl(files, handle())
}