fix(@chat): handle image placeholder
fixes #5934 Mobile still send the placeholder so we need to handle this case manually by removing text if this is exactly equal to the placeholder
This commit is contained in:
parent
eb3b22caef
commit
c2555a7650
|
@ -514,7 +514,7 @@ Item {
|
|||
ChatTextView {
|
||||
id: chatText
|
||||
readonly property int leftPadding: chatImage.anchors.leftMargin + chatImage.width + chatHorizontalPadding
|
||||
visible: isText || isEmoji || isImage
|
||||
visible: isText || isEmoji || (isImage && root.message !== "<p>Update to latest version to see a nice image here!</p>")
|
||||
|
||||
message: Utils.removeGifUrls(root.message)
|
||||
anchors.top: parent.top
|
||||
|
|
Loading…
Reference in New Issue