Fix Copy message to clipboard not working from extended menu

This commit is contained in:
Mikhail Barashkov 2023-12-04 19:12:18 +03:00 committed by jgibbon
parent fafa2ba355
commit 3a8f20a1ce

View file

@ -781,7 +781,7 @@ Page {
NamedAction {
visible: messageOptionsDrawer.showCopyMessageToClipboardMenuItem
name: qsTr("Copy Message to Clipboard")
action: messageOptionsDrawer.myMessage.copyMessageToClipboard
action: messageOptionsDrawer.sourceItem.copyMessageToClipboard
},
NamedAction {
visible: messageOptionsDrawer.showForwardMessageMenuItem && messageOptionsDrawer.myMessage.can_be_forwarded