mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 23:05:48 +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:
parent
cc3b5a7c35
commit
d997a579e0
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ JamiListView {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMoreMessagesLoaded() {
|
function onMoreMessagesLoaded() {
|
||||||
if (root.contentHeight < root.height) {
|
if (root.contentHeight < root.height || root.atYBeginning) {
|
||||||
root.loadMoreMsgsIfNeeded()
|
root.loadMoreMsgsIfNeeded()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue