[network/ruqola] src/widgets/room: Fix Update position when we scroll

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 21fe1c50de4d1a77812674f1c07d42fc721916d9 by Laurent Montel.
Committed on 30/07/2026 at 06:03.
Pushed by mlaurent into branch 'master'.

Fix Update position when we scroll

M  +3    -0    src/widgets/room/messagelistview.cpp

https://invent.kde.org/network/ruqola/-/commit/21fe1c50de4d1a77812674f1c07d42fc721916d9

diff --git a/src/widgets/room/messagelistview.cpp b/src/widgets/room/messagelistview.cpp
index 5b01fcd3c0..d61185ebe0 100644
--- a/src/widgets/room/messagelistview.cpp
+++ b/src/widgets/room/messagelistview.cpp
@@ -196,6 +196,9 @@ void MessageListView::slotVerticalScrollbarChanged(int value)
         verticalScrollBar()->setValue(1); // If we are at 0 we can't continue to load history
     }
     updateNewMessageIndicatorVisibility();
+    if (mNewMessageIndicator->isVisible()) {
+        repositionNewMessageIndicator();
+    }
 }
 
 void MessageListView::updateNewMessageIndicatorVisibility()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.