summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-03-17 16:55:10 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-03-17 16:55:10 +0200
commita7b174967270f34a6a1f576b68a9f92ad1112cfa (patch)
treee00b70f943dc35d2e926e6865208b5b7976dd1d6 /indra/newview
parentdbc7827d5b643ce432765927376abd681f0ac942 (diff)
SL-12860 FIXED Enabling 'Only Friends and Groups can call or IM me' still plays New Conversation sound
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 56c95bb77d..d09d36e77e 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -2743,7 +2743,7 @@ void LLIMMgr::addMessage(
}
//Play sound for new conversations
- if (!gAgent.isDoNotDisturb() && (gSavedSettings.getBOOL("PlaySoundNewConversation") == TRUE))
+ if (!skip_message & !gAgent.isDoNotDisturb() && (gSavedSettings.getBOOL("PlaySoundNewConversation") == TRUE))
{
make_ui_sound("UISndNewIncomingIMSession");
}