Rest of the fix for FIRE-3885 (Show or hide ui if in support group chat)

LGG@LGG-LAPPY 2011-11-18 05:30:11 -06:00
parent 6d9ffad9a5
commit 36abcc2e46
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,7 @@
//TL: for support group chat prefix
#include "fsdata.h"
#include "llversioninfo.h"
#include "llcheckboxctrl.h"
static const S32 RECT_PADDING_NOT_INIT = -1;
static const S32 RECT_PADDING_NEED_RECALC = -2;
@ -805,6 +806,9 @@ BOOL LLIMFloater::postBuild()
mChatHistory = getChild<LLChatHistory>("chat_history");
LLCheckBoxCtrl* FSPrefixBox = getChild<LLCheckBoxCtrl>("FSSupportGroupChatPrefix_toggle");
FSPrefixBox->setVisible(FSData::getInstance()->isSupportGroup(mSessionID));
setDocked(true);
mTypingStart = LLTrans::getString("IM_typing_start_string");