SL-20798 FIXED Crash at LLIMMgr::addMessage

meow-7.2.2
Maxim Nikolenko 2024-01-11 01:12:01 +02:00 committed by GitHub
parent 38a89c1fe6
commit 990f9dd92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",