fix(desktop/chat): Display sticker correctly in replied message.
Fix #5266
This commit is contained in:
parent
f56383f266
commit
d38e8073bf
|
@ -32,7 +32,7 @@ Loader {
|
|||
property color elementsColor: amISenderOfTheRepliedMessage ? Style.current.chatReplyCurrentUser : Style.current.secondaryText
|
||||
property var container
|
||||
property int chatHorizontalPadding
|
||||
property var stickerData
|
||||
property string stickerData
|
||||
|
||||
signal clickMessage(bool isProfileClick, bool isSticker, bool isImage, var image, bool emojiOnly, bool hideEmojiPicker, bool isReply)
|
||||
signal scrollToBottom(bool isit, var container)
|
||||
|
|
|
@ -288,8 +288,6 @@ Item {
|
|||
longReply: active && textFieldImplicitWidth > width
|
||||
container: root.container
|
||||
chatHorizontalPadding: chatHorizontalPadding
|
||||
// Not Refactored Yet
|
||||
// stickerData: !!rootStore ? rootStore.chatsModelInst.messageView.messageList.getMessageData(replyMessageIndex, "sticker") : null
|
||||
active: responseTo !== "" && !activityCenterMessage
|
||||
|
||||
function resetOriginalMessage() {
|
||||
|
@ -309,6 +307,7 @@ Item {
|
|||
repliedMessageSenderIsAdded = obj.senderIsAdded
|
||||
repliedMessageContent = obj.messageText
|
||||
repliedMessageImage = obj.messageImage
|
||||
stickerData = obj.sticker
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
Loading…
Reference in New Issue