diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt index 8f720935a2..2c65fddff9 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt @@ -419,9 +419,8 @@ fun ComposeView( ) if (chatItem != null) { chatModel.addChatItem(rhId, chat.chatInfo, chatItem) - return chatItem } - return null + return chatItem } fun checkLinkPreview(): MsgContent {