Suppport group chat prefix bugfix: Checkbox dissapears when checkbox off.
parent
cfa5b0d35e
commit
05935d0912
|
|
@ -609,8 +609,7 @@ LLSD FSData::allowed_login()
|
|||
|
||||
BOOL FSData::isSupportGroup(LLUUID id)
|
||||
{
|
||||
static LLCachedControl<bool> chat_prefix(gSavedSettings, "FSSupportGroupChatPrefix");
|
||||
return (chat_prefix && mSupportGroup.count(id));
|
||||
return (mSupportGroup.count(id));
|
||||
}
|
||||
|
||||
std::string FSData::processRequestForInfo(LLUUID requester, std::string message, std::string name, LLUUID sessionid)
|
||||
|
|
|
|||
|
|
@ -292,7 +292,8 @@ void LLIMFloater::sendMsg()
|
|||
//-TT /Patch MU_OOC from Satomi Ahn
|
||||
|
||||
// TL: Support group chat prefix
|
||||
if (FSData::getInstance()->isSupportGroup(mSessionID))
|
||||
static LLCachedControl<bool> chat_prefix(gSavedSettings, "FSSupportGroupChatPrefix");
|
||||
if (chat_prefix && FSData::getInstance()->isSupportGroup(mSessionID))
|
||||
{
|
||||
if (utf8_text.find("/me ") == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue