Make open log externally button on conversation preview also work for nearby chat log
parent
e5dce89705
commit
add9b699d8
|
|
@ -38,6 +38,8 @@
|
|||
// <FS:CR>
|
||||
#include "llviewercontrol.h"
|
||||
#include "llavataractions.h"
|
||||
#include "llviewerwindow.h"
|
||||
#include "llwindow.h"
|
||||
// </FS:CR>
|
||||
|
||||
const std::string LL_FCP_COMPLETE_NAME("complete_name");
|
||||
|
|
@ -203,5 +205,12 @@ void LLFloaterConversationPreview::onMoreHistoryBtnClick()
|
|||
// <FS:CR> Open chat history externally
|
||||
void (LLFloaterConversationPreview::onBtnOpenExternal())
|
||||
{
|
||||
LLAvatarActions::viewChatHistoryExternally(mSessionID);
|
||||
if (mSessionID.notNull())
|
||||
{
|
||||
LLAvatarActions::viewChatHistoryExternally(mSessionID);
|
||||
}
|
||||
else
|
||||
{
|
||||
gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName("chat"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue