From e1327dfde047714ebf603b2e78fcaa9f26cf0a5d Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 24 Mar 2021 14:45:09 +0100 Subject: [PATCH] Fix opening the image context menu --- imports/NeoChat/Component/Timeline/ImageDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/Timeline/ImageDelegate.qml b/imports/NeoChat/Component/Timeline/ImageDelegate.qml index c57746187..2a25b6ed9 100644 --- a/imports/NeoChat/Component/Timeline/ImageDelegate.qml +++ b/imports/NeoChat/Component/Timeline/ImageDelegate.qml @@ -81,7 +81,7 @@ Image { } function openContextMenu() { - var contextMenu = imageDelegateContextMenu.createObject(root, {'room': currentRoom, 'author': author}); + var contextMenu = imageDelegateContextMenu.createObject(root, {'room': currentRoom, 'author': author, 'message': message, 'eventId': eventId}); contextMenu.viewSource.connect(function() { messageSourceSheet.createObject(ApplicationWindow.overlay, {"sourceText": toolTip}).open() })