From ca5490074accd61682b9cf11d92914e21efbc35e Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Tue, 5 May 2020 23:43:28 +0200
Subject: [PATCH] Fix scroll to replied to message (somewhat)

---
 resources/qml/delegates/Reply.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml
index 1b1be3451..90013de93 100644
--- a/resources/qml/delegates/Reply.qml
+++ b/resources/qml/delegates/Reply.qml
@@ -15,7 +15,7 @@ Item {
 	MouseArea {
 		anchors.fill: parent
 		preventStealing: true
-		onClicked: chat.positionViewAtIndex(chat.model.idToIndex(timelineManager.replyingEvent), ListView.Contain)
+		onClicked: chat.positionViewAtIndex(chat.model.idToIndex(modelData.id), ListView.Contain)
 		cursorShape: Qt.PointingHandCursor
 	}
 
-- 
GitLab