STORM-398 FIXED Disabled Nearby Chat toasts while user is in Busy mode.

meow-7.2.2
Seth ProductEngine 2010-12-13 20:18:09 +02:00
parent e27bcbe0d2
commit 2d9c970bab
1 changed files with 2 additions and 1 deletions

View File

@ -527,7 +527,8 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg, const LLSD &args)
if( nearby_chat->getVisible()
|| ( chat_msg.mSourceType == CHAT_SOURCE_AGENT
&& gSavedSettings.getBOOL("UseChatBubbles") ) )
&& gSavedSettings.getBOOL("UseChatBubbles") )
|| !mChannel->getShowToasts() ) // to prevent toasts in Busy mode
return;//no need in toast if chat is visible or if bubble chat is enabled
// Handle irc styled messages for toast panel