fix(Chat): Show message's text for community invitation

Close #9812
This commit is contained in:
MishkaRogachev 2023-03-13 14:01:18 +05:30 committed by Mikhail Rogachev
parent db7256fd1a
commit ab1393b7f0
1 changed files with 4 additions and 3 deletions

View File

@ -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"