FIRE-14553: Growl shows notifications from muted objects
parent
cc14c46b04
commit
02aeb15dc0
|
|
@ -112,15 +112,19 @@ void LLViewerChat::getChatColor(const LLChat& chat, LLColor4& r_color, bool is_l
|
|||
// <FS:LO> 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);
|
||||
// </FS:LO>
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue