summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
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",