diff --git a/indra/newview/llviewerchat.cpp b/indra/newview/llviewerchat.cpp index 3c71d871fd..78df9c015a 100755 --- a/indra/newview/llviewerchat.cpp +++ b/indra/newview/llviewerchat.cpp @@ -112,15 +112,19 @@ void LLViewerChat::getChatColor(const LLChat& chat, LLColor4& r_color, bool is_l // FIRE-5889: Object IM's Not Triggering Growl Notifications std::string msg = chat.mFromName; std::string prefix = chat.mText.substr(0, 4); - if(prefix == "/me " || prefix == "/me'") + if (prefix == "/me " || prefix == "/me'") { - msg = msg + chat.mText.substr(3); + msg += chat.mText.substr(3); } else { - msg = msg + ": " + chat.mText; + msg += (": " + chat.mText); + } + + if (!chat.mMuted) + { + gGrowlManager->notify(chat.mFromName, msg, GROWL_IM_MESSAGE_TYPE); } - gGrowlManager->notify(chat.mFromName, msg, GROWL_IM_MESSAGE_TYPE); // } else