diff --git a/ui/imports/shared/views/chat/CompactMessageView.qml b/ui/imports/shared/views/chat/CompactMessageView.qml index 3bf54d8fe7..6ffa8b3ce5 100644 --- a/ui/imports/shared/views/chat/CompactMessageView.qml +++ b/ui/imports/shared/views/chat/CompactMessageView.qml @@ -59,12 +59,18 @@ Item { } } - MouseArea { + MessageMouseArea { enabled: !placeholderMessage anchors.fill: messageContainer acceptedButtons: activityCenterMessage ? Qt.LeftButton : Qt.RightButton - onClicked: { - messageMouseArea.clicked(mouse) + messageContextMenu: root.messageContextMenu + messageContextMenuParent: root + isHovered: root.isHovered + isMessageActive: root.isMessageActive + isActivityCenterMessage: activityCenterMessage + stickersLoaded: root.stickersLoaded + onClickMessage: { + root.clickMessage(isProfileClick, isSticker, isImage, null, false, false, false, false, ""); } }