#4010 play only audio mention ping for new conversation
parent
fb34971786
commit
733d65d039
|
|
@ -3260,7 +3260,11 @@ void LLIMMgr::addMessage(
|
|||
//Play sound for new conversations
|
||||
if (!skip_message && !gAgent.isDoNotDisturb() && (gSavedSettings.getBOOL("PlaySoundNewConversation")))
|
||||
{
|
||||
make_ui_sound("UISndNewIncomingIMSession");
|
||||
static LLCachedControl<bool> play_snd_mention_pref(gSavedSettings, "PlaySoundChatMention", false);
|
||||
if (!play_snd_mention_pref || !LLUrlRegistry::getInstance()->containsAgentMention(msg))
|
||||
{
|
||||
make_ui_sound("UISndNewIncomingIMSession");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1008,7 +1008,7 @@
|
|||
value="0.82 0.91 0.98 0.15" />
|
||||
<color
|
||||
name="ChatSelfMentionHighlight"
|
||||
value="1 1 0 1" />
|
||||
value="1 1 0 0.35" />
|
||||
<color
|
||||
name="MentionFlashBgColor"
|
||||
value="1 1 0 0.5" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue