diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-21 15:55:55 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-21 15:55:55 -0500 |
commit | d034d8d9289a9e5511d32ec048b75837b89264ad (patch) | |
tree | c3fd25eb7d1096baef0290b5bf86321f7ed447ad /indra/newview/llnearbychathandler.cpp | |
parent | 6150e4ed7cf86a2afc0061ba89b0cb049d6f036e (diff) | |
parent | 97a9211d87fac90994846e5bf91a78a708ec5a9c (diff) |
merge changes for vwr-24347
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 3 |
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 |