summary refs log tree commit diff
path: root/resources/qml/TimelineRow.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-04-29 23:09:13 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-04-29 23:09:13 +0200
commit9ab1dc253e714c0bbf096f5eef2a5c13f3dccbca (patch)
tree081e09b7ba67d76b6f29cba045e5d9117e82adf8 /resources/qml/TimelineRow.qml
parentFix missing license header (diff)
downloadnheko-9ab1dc253e714c0bbf096f5eef2a5c13f3dccbca.tar.xz
Copy address location
fixes #463
Diffstat (limited to 'resources/qml/TimelineRow.qml')
-rw-r--r--resources/qml/TimelineRow.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index 321be5b2..e9c8b297 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -28,12 +28,12 @@ Item {
 
     TapHandler {
         acceptedButtons: Qt.RightButton
-        onSingleTapped: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable)
+        onSingleTapped: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable, contentItem.child.hoveredLink)
         gesturePolicy: TapHandler.ReleaseWithinBounds
     }
 
     TapHandler {
-        onLongPressed: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable)
+        onLongPressed: messageContextMenu.show(model.id, model.type, model.isEncrypted, model.isEditable, contentItem.child.hoveredLink)
         onDoubleTapped: chat.model.reply = model.id
         gesturePolicy: TapHandler.ReleaseWithinBounds
     }