diff --git a/ui/shared/status/StatusChatInput.qml b/ui/shared/status/StatusChatInput.qml index 5a29424cad..e8abb04f6b 100644 --- a/ui/shared/status/StatusChatInput.qml +++ b/ui/shared/status/StatusChatInput.qml @@ -196,9 +196,8 @@ Rectangle { paste = false; // Remove format - const cursor = messageInputField.cursorPosition; - messageInputField.text = Emoji.parse(chatsModel.plainText(Emoji.deparse(messageInputField.text))); - messageInputField.cursorPosition = cursor; + messageInputField.text = Emoji.parse(chatsModel.plainText(Emoji.deparse(messageInputField.text)).replaceAll("\n","
")) + messageInputField.cursorPosition = messageInputField.length; interrogateMessage(); }