From 4b0f8f316635ca5456396d47aae7c73fed429aaa Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Fri, 5 Feb 2021 21:57:22 +0100 Subject: [PATCH] Mark new messages as read when automatically scrolling down --- qml/pages/ChatPage.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index 53283b8..d2346bb 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -580,6 +580,7 @@ Page { if (chatView.manuallyScrolledToBottom || message.sender.user_id === chatPage.myUserId) { Debug.log("[ChatPage] Own message received or was scrolled to bottom, scrolling down to see it..."); chatView.scrollToIndex(chatView.count - 1); + viewMessageTimer.queueViewMessage(chatView.count - 1); } } onUnreadCountUpdated: {