FIRE-650, nearby chat flashes on new messages now

--HG--
branch : Firestorm_2.4.2
meow-7.2.2
Arrehn 2011-03-20 20:47:28 -04:00
parent 601361955a
commit 74f11d1bce
1 changed files with 7 additions and 5 deletions

View File

@ -261,13 +261,15 @@ void LLNearbyChat::addMessage(const LLChat& chat,bool archive,const LLSD &args)
return;
}
// IF tab mode active, flash our tab
// AO: IF tab mode active, flash our tab
if(isChatMultiTab())
{
LLSD notification;
notification["session_id"] = getKey();
LLIMFloaterContainer* floater_container = LLIMFloaterContainer::getInstance();
floater_container->onNewMessageReceived(notification);
LLMultiFloater* hostp = getHost();
if( !isInVisibleChain()
&& hostp)
{
hostp->setFloaterFlashing(this, TRUE);
}
}
if (gSavedPerAccountSettings.getBOOL("LogNearbyChat"))