Play group invitation sound in all possible cases

meow-7.2.2
Northspring 2015-09-01 19:46:13 +02:00
parent f6e493fe35
commit f0b950d2de
1 changed files with 2 additions and 0 deletions

View File

@ -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"); // <FS:PP> Group invitation sound
LLNotificationsUtil::add("JoinGroupProtectionNotice", args, notification_adjusted["payload"]);
}
else
{
make_ui_sound("UISndGroupInvitation"); // <FS:PP> Group invitation sound
LLNotificationsUtil::add("JoinGroup", args, notification_adjusted["payload"]);
}
// </FS:PP>