From d997a579e063521554471aaeefc208f01b5052cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Fri, 13 Jan 2023 15:30:54 -0500 Subject: [PATCH] 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 --- src/app/mainview/components/MessageListView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/mainview/components/MessageListView.qml b/src/app/mainview/components/MessageListView.qml index ef1a559c5..4f3213299 100644 --- a/src/app/mainview/components/MessageListView.qml +++ b/src/app/mainview/components/MessageListView.qml @@ -297,7 +297,7 @@ JamiListView { } function onMoreMessagesLoaded() { - if (root.contentHeight < root.height) { + if (root.contentHeight < root.height || root.atYBeginning) { root.loadMoreMsgsIfNeeded() } } -- GitLab