diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index a126b13ce..8144cb7a9 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -939,6 +939,19 @@ IsCOA 1 + LiruNewMessageSoundIMsOn + + Comment + Whether or not ding defaults to being on for new IMs. + Persist + 1 + Type + Boolean + Value + 0 + IsCOA + 1 + LiruNoTransactionClutter Comment diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 9acb77737..3da20e256 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -347,6 +347,7 @@ LLFloaterIMPanel::LLFloaterIMPanel( case IM_SESSION_P2P_INVITE: mVoiceChannel = new LLVoiceChannelP2P(mSessionUUID, mLogLabel, mOtherParticipantUUID); LLAvatarTracker::instance().addParticularFriendObserver(mOtherParticipantUUID, this); + mDing = gSavedSettings.getBOOL("LiruNewMessageSoundIMsOn"); break; default: llwarns << "Unknown session type" << llendl;