Remove useless suspend modifier
This commit is contained in:
committed by
Benoit Marty
parent
6f1bf9b666
commit
1673fe7354
@@ -574,7 +574,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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user