summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-05 17:53:37 -0500
committerOz Linden <oz@lindenlab.com>2011-01-05 17:53:37 -0500
commiteb0b8ab3ea19617a52881191bab21bfedcc5696d (patch)
tree769aa9bd60f45109f54672db93a4fa22fcde6510 /indra/newview/llnearbychathandler.cpp
parentdf0a0312fb1923164c6d693c675a365bb8cef1df (diff)
parentd5a0c56bf5d933b7cee072cbc1851a626e672ded (diff)
merge changes for storm-825
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r--indra/newview/llnearbychathandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index cebfac86e7..de5439e4e0 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -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