From 4f2f328f70e465d452bf33722f37e49f7d5813a7 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 11 Apr 2024 00:34:54 +0300 Subject: triage#171 Sometimes conversation.log remains empty --- indra/newview/app_settings/settings_per_account.xml | 2 +- indra/newview/llimview.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/app_settings/settings_per_account.xml b/indra/newview/app_settings/settings_per_account.xml index 6b788dd78f..99c43acd49 100644 --- a/indra/newview/app_settings/settings_per_account.xml +++ b/indra/newview/app_settings/settings_per_account.xml @@ -329,7 +329,7 @@ KeepConversationLogTranscripts Comment - Keep a conversation log and transcripts + Keep a conversation log and transcripts 2 - both, 1 - logs, 0 - none Persist 1 Type diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 61a01d7418..4e645010c9 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1572,6 +1572,8 @@ bool LLIMModel::logToFile(const std::string& file_name, const std::string& from, } else { + // will check KeepConversationLogTranscripts on its own + LLConversationLog::instance().cache(); return false; } } -- cgit v1.2.3