summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-01-11 01:12:01 +0200
committerGitHub <noreply@github.com>2024-01-11 01:12:01 +0200
commit990f9dd92fc8b770a85649c022137e53e4549b2d (patch)
tree4c5660cb4c689d6b84fc573ee63c055bd3a1d0d3 /indra
parent38a89c1fe66a7002b47e3801c074304f0893cba2 (diff)
SL-20798 FIXED Crash at LLIMMgr::addMessage
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 61a01d7418..9e6704af26 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -3160,7 +3160,7 @@ void LLIMMgr::addMessage(
}
// Fetch group chat history, enabled by default.
- if (gSavedPerAccountSettings.getBOOL("FetchGroupChatHistory"))
+ if (gSavedPerAccountSettings.getBOOL("FetchGroupChatHistory") && gAgent.getRegion())
{
std::string chat_url = gAgent.getRegion()->getCapability("ChatSessionRequest");
LLCoros::instance().launch("chatterBoxHistoryCoro",