summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2010-12-13 20:18:09 +0200
committerSeth ProductEngine <slitovchuk@productengine.com>2010-12-13 20:18:09 +0200
commit2d9c970babf6bab8d402482315af6be0ffb198dd (patch)
treef43c2dbf6ffe8779272f1fb17d2cd94de01be47f /indra
parente27bcbe0d20c87556b0bcb1e3feaaea6544d3e16 (diff)
STORM-398 FIXED Disabled Nearby Chat toasts while user is in Busy mode.
Diffstat (limited to 'indra')
-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