From 7e0dceca68e4b9d9d94b9e530954cba9366dc97e Mon Sep 17 00:00:00 2001
From: Maxim Nikolenko <maximnproductengine@lindenlab.com>
Date: Wed, 21 Jun 2023 18:38:10 +0300
Subject: [PATCH] SL-19898 FIXED Contents purchased from items do not show in
 Recent Items until selecting folder

---
 indra/newview/llinventorymodelbackgroundfetch.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llinventorymodelbackgroundfetch.cpp b/indra/newview/llinventorymodelbackgroundfetch.cpp
index 0eb07523ae7..26288e6b0a0 100644
--- a/indra/newview/llinventorymodelbackgroundfetch.cpp
+++ b/indra/newview/llinventorymodelbackgroundfetch.cpp
@@ -357,6 +357,8 @@ void LLInventoryModelBackgroundFetch::scheduleFolderFetch(const LLUUID& cat_id,
 {
     if (mFetchFolderQueue.empty() || mFetchFolderQueue.front().mUUID != cat_id)
     {
+        mBackgroundFetchActive = true;
+
         // Specific folder requests go to front of queue.
         mFetchFolderQueue.push_front(FetchQueueInfo(cat_id, forced ? FT_FORCED : FT_DEFAULT));
         gIdleCallbacks.addFunction(&LLInventoryModelBackgroundFetch::backgroundFetchCB, NULL);
-- 
GitLab