SL-12805 FIXED The Group Chat history can't be opened from the conversations floater
parent
4e98602746
commit
57b32eb01c
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue