summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationlog.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-04-10 22:54:31 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-04-11 00:36:20 +0300
commitf4c41ec5c005f9093dd03bd1a52f7d67087ce219 (patch)
tree26d113460b106668bb45634c270e1f2aed3c2244 /indra/newview/llconversationlog.cpp
parent5af93ff0d53606db3dca727a8cd1b73d7c37d70b (diff)
triage#170 Fix 'Clear log' button having incorrect state
1. onClear should clear file even if in 'don't log' state. 2. When chat isn't logging, check presence of old log by checking file.
Diffstat (limited to 'indra/newview/llconversationlog.cpp')
-rw-r--r--indra/newview/llconversationlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llconversationlog.cpp b/indra/newview/llconversationlog.cpp
index a696c99a82..d2603dcc23 100644
--- a/indra/newview/llconversationlog.cpp
+++ b/indra/newview/llconversationlog.cpp
@@ -648,7 +648,7 @@ void LLConversationLog::onClearLogResponse(const LLSD& notification, const LLSD&
{
mConversations.clear();
notifyObservers();
- cache();
+ saveToFile(getFileName());
deleteBackupLogs();
}
}