Fix jumping to replied-to event

This commit is contained in:
Tobias Fella
2025-07-06 23:08:53 +02:00
committed by Tobias Fella
parent 07837c2e64
commit ce82606e6e

View File

@@ -65,7 +65,7 @@ RowLayout {
id: contentRepeater id: contentRepeater
model: root.replyContentModel model: root.replyContentModel
delegate: ReplyMessageComponentChooser { delegate: ReplyMessageComponentChooser {
onReplyClicked: root.Message.timeline.goToEvent(root.replyEventId) onReplyClicked: RoomManager.goToEvent(root.replyEventId)
} }
} }
} }
@@ -74,7 +74,7 @@ RowLayout {
} }
TapHandler { TapHandler {
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton
onTapped: root.Message.timeline.goToEvent(root.replyEventId) onTapped: RoomManager.goToEvent(root.replyEventId)
} }
QtObject { QtObject {
id: _private id: _private