mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
Remove useless suspend modifier
This commit is contained in:
committed by
Benoit Marty
parent
813983c452
commit
a7d78cae78
+1
-1
@@ -574,7 +574,7 @@ class RustMatrixRoom(
|
|||||||
onNewSyncedEvent = { _syncUpdateFlow.value = systemClock.epochMillis() }
|
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 {
|
return runCatching {
|
||||||
MediaUploadHandlerImpl(files, handle())
|
MediaUploadHandlerImpl(files, handle())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user