summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2023-03-22 23:59:03 +0200
committermarchcat-pe <alihatskiy@productengine.com>2023-03-23 14:35:55 +0200
commit9da0f76d2c79bd3d058158932d2616cda7914557 (patch)
tree29b8eec3401d9b94304893a25b4e629adef8a577 /indra
parent79e51195fbf3409611b413c006fb4061ca820e91 (diff)
SL-19462 Declare the FetchGroupChatHistory setting in the code
to make it accessible after updating the viewer
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index af16f5c7d4..6880cf2171 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.