MAINT-171 FIXED Show "Ad-hoc conference" instead of "Session 1" in floater title

meow-7.2.2
maxim_productengine 2012-08-09 15:14:53 +03:00
parent 66391be513
commit 3e6c27aa1d
1 changed files with 2 additions and 2 deletions

View File

@ -44,6 +44,7 @@
#include "llinventoryfunctions.h"
#include "llinventorymodelbackgroundfetch.h"
#include "llsidepanelinventory.h"
#include "lltrans.h"
#include "llviewerattachmenu.h"
#include "llviewerfoldertype.h"
#include "llvoavatarself.h"
@ -973,7 +974,6 @@ bool LLInventoryPanel::beginIMSession()
std::set<LLUUID> selected_items = mFolderRoot->getSelectionList();
std::string name;
static int session_num = 1;
LLDynamicArray<LLUUID> members;
EInstantMessage type = IM_SESSION_CONFERENCE_START;
@ -1053,7 +1053,7 @@ bool LLInventoryPanel::beginIMSession()
if (name.empty())
{
name = llformat("Session %d", session_num++);
name = LLTrans::getString("conference-title");
}
LLUUID session_id = gIMMgr->addSession(name, type, members[0], members);