summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterconversationpreview.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-08-25 21:19:41 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-08-25 21:19:41 +0300
commitc49565be6e3080e9580342ad17be6045758c3d89 (patch)
tree5658c0f94c03d903e2dd2cf109d1bb1ad2b229cb /indra/newview/llfloaterconversationpreview.cpp
parentbb5771fd3ec12ab17e589562448dcc6c15245aa4 (diff)
SL-13858 FIXED Group chat transcripts named with double (group) (group).txt after opening chat history.
Diffstat (limited to 'indra/newview/llfloaterconversationpreview.cpp')
-rw-r--r--indra/newview/llfloaterconversationpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterconversationpreview.cpp b/indra/newview/llfloaterconversationpreview.cpp
index 44725cab70..580a3f2610 100644
--- a/indra/newview/llfloaterconversationpreview.cpp
+++ b/indra/newview/llfloaterconversationpreview.cpp
@@ -84,7 +84,7 @@ BOOL LLFloaterConversationPreview::postBuild()
file = "chat";
}
mChatHistoryFileName = file;
- if (mIsGroup)
+ if (mIsGroup && !LLStringUtil::endsWith(mChatHistoryFileName, GROUP_CHAT_SUFFIX))
{
mChatHistoryFileName += GROUP_CHAT_SUFFIX;
}