From 9da0f76d2c79bd3d058158932d2616cda7914557 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy <alihatskiy@productengine.com> Date: Wed, 22 Mar 2023 23:59:03 +0200 Subject: [PATCH] SL-19462 Declare the FetchGroupChatHistory setting in the code to make it accessible after updating the viewer --- indra/newview/llimview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index af16f5c7d45..6880cf21718 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -3053,6 +3053,8 @@ LLIMMgr::LLIMMgr() mPendingAgentListUpdates = LLSD::emptyMap(); LLIMModel::getInstance()->addNewMsgCallback(boost::bind(&LLFloaterIMSession::sRemoveTypingIndicator, _1)); + + gSavedPerAccountSettings.declareBOOL("FetchGroupChatHistory", TRUE, "Fetch recent messages from group chat servers when a group window opens", LLControlVariable::PERSIST_ALWAYS); } // Add a message to a session. -- GitLab