From f0b950d2defd873eba018846c66566745a485478 Mon Sep 17 00:00:00 2001 From: Northspring Date: Tue, 1 Sep 2015 19:46:13 +0200 Subject: [PATCH] Play group invitation sound in all possible cases --- indra/newview/llviewermessage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 375929678e..0d7fb75831 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -749,10 +749,12 @@ bool join_group_response(const LLSD& notification, const LLSD& response) // LLNotificationsUtil::add("JoinGroup", args, notification_adjusted["payload"]); else if (fee > 0 && gSavedSettings.getBOOL("FSAllowGroupInvitationOnlyWithoutFee")) { + make_ui_sound("UISndGroupInvitation"); // Group invitation sound LLNotificationsUtil::add("JoinGroupProtectionNotice", args, notification_adjusted["payload"]); } else { + make_ui_sound("UISndGroupInvitation"); // Group invitation sound LLNotificationsUtil::add("JoinGroup", args, notification_adjusted["payload"]); } //