summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationlog.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-02-21 15:06:06 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-02-21 15:06:06 +0200
commit1b464fae878550c22c98d9773e33be289447b503 (patch)
tree19b57f7e5da0cde72aaa02ad1470ac37d0524530 /indra/newview/llconversationlog.cpp
parent2dfdd050d487df6aaa7a169208e02b30a313127f (diff)
CHUI-783 FIXED Load logs from conversation.log file after changing preferences.
Diffstat (limited to 'indra/newview/llconversationlog.cpp')
-rw-r--r--indra/newview/llconversationlog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llconversationlog.cpp b/indra/newview/llconversationlog.cpp
index fc3bc8551c..b777edba77 100644
--- a/indra/newview/llconversationlog.cpp
+++ b/indra/newview/llconversationlog.cpp
@@ -206,6 +206,8 @@ void LLConversationLog::enableLogging(S32 log_mode)
mLoggingEnabled = log_mode > 0;
if (log_mode > 0)
{
+ mConversations.clear();
+ loadFromFile(getFileName());
LLIMMgr::instance().addSessionObserver(this);
mNewMessageSignalConnection = LLIMModel::instance().addNewMsgCallback(boost::bind(&LLConversationLog::onNewMessageReceived, this, _1));