Fix jumping to replied-to event
This commit is contained in:
committed by
Tobias Fella
parent
07837c2e64
commit
ce82606e6e
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user