SL-12805 FIXED The Group Chat history can't be opened from the conversations floater

meow-7.2.2
maxim_productengine 2020-03-06 16:49:23 +02:00
parent 4e98602746
commit 57b32eb01c
2 changed files with 3 additions and 6 deletions

View File

@ -84,10 +84,7 @@ BOOL LLFloaterConversationPreview::postBuild()
file = "chat";
}
mChatHistoryFileName = file;
if (mIsGroup)
{
mChatHistoryFileName += GROUP_CHAT_SUFFIX;
}
LLStringUtil::format_map_t args;
args["[NAME]"] = name;
std::string title = getString("Title", args);

View File

@ -761,8 +761,8 @@ bool LLLogChat::isTranscriptExist(const LLUUID& avatar_id, bool is_group)
{
std::string file_name;
gCacheName->getGroupName(avatar_id, file_name);
file_name = makeLogFileName(file_name);
return isTranscriptFileFound(makeLogFileName(file_name));
file_name = makeLogFileName(file_name + GROUP_CHAT_SUFFIX);
return isTranscriptFileFound(file_name);
}
return false;
}