Fix jump to last message button trigger, the list view is no longer root.
This commit is contained in:
@@ -231,7 +231,7 @@ QQC2.ScrollView {
|
|||||||
text: i18n("Jump to latest message")
|
text: i18n("Jump to latest message")
|
||||||
action: Kirigami.Action {
|
action: Kirigami.Action {
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.positionViewAtBeginning();
|
messageListView.positionViewAtBeginning();
|
||||||
root.room.markAllMessagesAsRead();
|
root.room.markAllMessagesAsRead();
|
||||||
}
|
}
|
||||||
icon.name: "go-down"
|
icon.name: "go-down"
|
||||||
|
|||||||
Reference in New Issue
Block a user