From dbfa9b0b39f4192776d7ab2e2a35aaeac4fe2029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Fri, 7 Jun 2024 10:18:56 +0200 Subject: [PATCH] fix(StatusTextMessage): fix "edited" status for emoji messages - continue processing the message if it's an emoji Fixes #15081 --- .../Components/private/statusMessage/StatusTextMessage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/StatusQ/src/StatusQ/Components/private/statusMessage/StatusTextMessage.qml b/ui/StatusQ/src/StatusQ/Components/private/statusMessage/StatusTextMessage.qml index 6a76561ff4..ad49583e49 100644 --- a/ui/StatusQ/src/StatusQ/Components/private/statusMessage/StatusTextMessage.qml +++ b/ui/StatusQ/src/StatusQ/Components/private/statusMessage/StatusTextMessage.qml @@ -39,7 +39,7 @@ Item { if (root.messageDetails.contentType === StatusMessage.ContentType.Sticker) return ""; - if (root.messageDetails.contentType === StatusMessage.ContentType.Emoji) + if (root.messageDetails.contentType === StatusMessage.ContentType.Emoji && !root.isEdited) return Emoji.parse(root.messageDetails.messageText, Emoji.size.middle, Emoji.format.png); let formattedMessage = Utils.linkifyAndXSS(root.messageDetails.messageText);