[Chat] Scroll chat view to bottom when loading chat history (#2725)

Took 4 minutes
This commit is contained in:
Lukas Brübach
2026-08-04 18:13:14 +02:00
parent 1ed9823b56
commit 820c4e6315

View File

@@ -326,7 +326,7 @@ void ChatView::appendMessage(QString message,
}
}
if (atBottom) {
if (atBottom || messageType.testFlag(Event_RoomSay::ChatHistory)) {
verticalScrollBar()->setValue(verticalScrollBar()->maximum());
}
}