[network/ruqola] src/widgets/room: Connect signal/slot

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

Connect signal/slot

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

https://invent.kde.org/network/ruqola/-/commit/5077971da5c69550500b3d05c245b99f659b63ba

diff --git a/src/widgets/room/messagelistview.cpp b/src/widgets/room/messagelistview.cpp
index ae8947e825..60794a7232 100644
--- a/src/widgets/room/messagelistview.cpp
+++ b/src/widgets/room/messagelistview.cpp
@@ -91,6 +91,7 @@ MessageListView::MessageListView(RocketChatAccount *account, Mode mode, QWidget
     setItemDelegate(mMessageListDelegate);
 
     connect(verticalScrollBar(), &QScrollBar::valueChanged, this, &MessageListView::slotVerticalScrollbarChanged);
+    connect(mNewMessageIndicator, &NewMessageIndicator::moveToBottom, this, &MessageListView::maybeScrollToBottom);
 
     // ensure the scrolling behavior isn't jumpy
     // we always single step by roughly one line
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.