Skip to content
Snippets Groups Projects
Verified Commit df6a5aab authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix clicking on images in replies

fixes #881
parent c76cda0c
No related branches found
No related tags found
No related merge requests found
Pipeline #2755 passed
......@@ -65,7 +65,7 @@ Item {
TapHandler {
acceptedButtons: Qt.LeftButton
onSingleTapped: {
let link = reply.child.linkAt(eventPoint.position.x, eventPoint.position.y - userName_.implicitHeight);
let link = reply.child.linkAt != undefined && reply.child.linkAt(eventPoint.position.x, eventPoint.position.y - userName_.implicitHeight);
if (link) {
Nheko.openLink(link)
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment