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()
}
}