diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-04-11 00:34:54 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-04-11 00:46:19 +0300 |
commit | 4f2f328f70e465d452bf33722f37e49f7d5813a7 (patch) | |
tree | 691a119eac1eccc8e450f6ab17868ccdce3b033c /indra | |
parent | f4c41ec5c005f9093dd03bd1a52f7d67087ce219 (diff) |
triage#171 Sometimes conversation.log remains empty
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/app_settings/settings_per_account.xml | 2 | ||||
-rw-r--r-- | indra/newview/llimview.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ <key>KeepConversationLogTranscripts</key> <map> <key>Comment</key> - <string>Keep a conversation log and transcripts</string> + <string>Keep a conversation log and transcripts 2 - both, 1 - logs, 0 - none</string> <key>Persist</key> <integer>1</integer> <key>Type</key> 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; } } |