1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 22:35:45 +02:00

messagelistview: fix message loading

On some cases (like many edition/reply) the atYBeginning is still true
causing the view to not load messages anymore (after retrying it loads
as the beginning)

Change-Id: I9da474224f6fc0a39cf405c8bfe9d5201849ea64
This commit is contained in:
Sébastien Blin 2023-01-13 15:30:54 -05:00
parent cc3b5a7c35
commit d997a579e0

View file

@ -297,7 +297,7 @@ JamiListView {
}
function onMoreMessagesLoaded() {
if (root.contentHeight < root.height) {
if (root.contentHeight < root.height || root.atYBeginning) {
root.loadMoreMsgsIfNeeded()
}
}