From fe87cbaadafe4c1913cf2e0b2b5566cecd37dab6 Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Wed, 21 Dec 2022 21:40:18 +0100 Subject: [PATCH] fix(chat/messages): load messages even if fetch is ongoing fixes: #8831 --- ui/app/AppLayouts/Chat/stores/MessageStore.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Chat/stores/MessageStore.qml b/ui/app/AppLayouts/Chat/stores/MessageStore.qml index 9c6cd38cd6..7c8831ab70 100644 --- a/ui/app/AppLayouts/Chat/stores/MessageStore.qml +++ b/ui/app/AppLayouts/Chat/stores/MessageStore.qml @@ -22,8 +22,7 @@ QtObject { if(!messageModule) return - if(!messageModule.initialMessagesLoaded || - root.loadingHistoryMessagesInProgress? root.loadingHistoryMessagesInProgress : false) + if(!messageModule.initialMessagesLoaded) return messageModule.loadMoreMessages()