MAINT-171 FIXED Show "Ad-hoc conference" instead of "Session 1" in floater title
parent
66391be513
commit
3e6c27aa1d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue