mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-17 18:11:54 +00:00
fix: Cannot download uploaded or embed images in private chat
Download an image to a local folder was not working as clickMessage function was called from root. and root has no such function. Switched to use clickMessage via dynamic scoping. TODO: remove dynamic scoping Closes #4143
This commit is contained in:
parent
a85ee8581a
commit
6d0d00a50a
@ -482,7 +482,7 @@ Item {
|
||||
messageContextMenu.parent = root
|
||||
messageContextMenu.setXPosition = function() { return (mouse.x)}
|
||||
messageContextMenu.setYPosition = function() { return (mouse.y)}
|
||||
root.clickMessage(false, false, true, image, false, true, false, true, imageSource)
|
||||
clickMessage(false, false, true, image, false, true, false, true, imageSource)
|
||||
}
|
||||
}
|
||||
container: root.container
|
||||
|
Loading…
x
Reference in New Issue
Block a user