From ab1393b7f00a85096e744c578fdeca779d773262 Mon Sep 17 00:00:00 2001 From: MishkaRogachev Date: Mon, 13 Mar 2023 14:01:18 +0530 Subject: [PATCH] fix(Chat): Show message's text for community invitation Close #9812 --- ui/StatusQ/src/StatusQ/Components/StatusMessage.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml b/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml index 42eea243f3..b75252a521 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml @@ -256,9 +256,10 @@ Control { Loader { Layout.fillWidth: true active: (!root.editMode && !!root.messageDetails.messageText && !root.hideMessage - && ((root.messageDetails.contentType === StatusMessage.ContentType.Text) - || (root.messageDetails.contentType === StatusMessage.ContentType.Emoji) || - (root.messageDetails.contentType === StatusMessage.ContentType.DiscordMessage))) + && ((root.messageDetails.contentType === StatusMessage.ContentType.Text) || + (root.messageDetails.contentType === StatusMessage.ContentType.Emoji) || + (root.messageDetails.contentType === StatusMessage.ContentType.DiscordMessage) || + (root.messageDetails.contentType === StatusMessage.ContentType.Invitation))) visible: active sourceComponent: StatusTextMessage { objectName: "StatusMessage_textMessage"