summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-08-01 01:19:10 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-08-01 01:26:04 +0300
commitcc25193af9a64f36a75f401160f5757498f3e5fc (patch)
tree9082b76f92d8d983c4cadbcca7ac7dd0dfd15fcf /indra/newview/llimview.cpp
parent03a33bf07541f4555c840e2323e9e68fadc72689 (diff)
SL-12795 Fix existance of multiple chatlog files after name change
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index d5142a4496..72162a1242 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -601,6 +601,10 @@ LLIMModel::LLIMSession::LLIMSession(const LLUUID& session_id, const std::string&
}
buildHistoryFileName();
+ if (isP2P()) // user's account name can change, but filenames are account name based
+ {
+ LLConversationLog::getInstance()->verifyFilename(mSessionID, mHistoryFileName);
+ }
loadHistory();
// Localizing name of ad-hoc session. STORM-153