Correct Android attachment submission argument after editor integration
This commit is contained in:
1 parent
c39bdef344
commit
0a75a53ed9
1 file changed
+1
-1
@@ -1637,7 +1637,7 @@ class ChatViewModel : ViewModel() {
|
||||
} else NativeLib.videoSend(target.nativeId, filePath, meta.first, meta.second, meta.third,
|
||||
reply?.message?.messageId.orEmpty(), request, (target as? ConversationTarget.Pm)?.generation ?: 0).also { accepted = it }
|
||||
}
|
||||
saved = if (target is ConversationTarget.Channel) submitChannel(target.id, reply, queue) else queue(0)
|
||||
saved = if (target is ConversationTarget.Channel) submitChannel(target.id, reply, queue = queue) else queue(0)
|
||||
if (!saved && job !in discardedPreparationJobs) _messageSendFailed.value = true
|
||||
if (saved && clearReply) finishReply(reply)
|
||||
} catch (e: kotlinx.coroutines.CancellationException) { throw e }
|
||||
|
||||
Reference in new issue
Block a user