From 6e5bca4928da015e33062aec87364c91ef5c3ec7 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 31 May 2021 16:59:31 +0200 Subject: [PATCH] Mark all message as read when clicking on down button Fix #379 --- imports/NeoChat/Page/RoomPage.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index de5bbf3a1..347e5872a 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -660,6 +660,7 @@ Kirigami.ScrollablePage { action: Kirigami.Action { onTriggered: { goToLastMessage(); + currentRoom.markAllMessagesAsRead(); } icon.name: "go-down" }