Pull merge from richard/viewer-chui

meow-7.2.2
Merov Linden 2012-11-29 20:35:30 -08:00
commit 2843ba11bc
3 changed files with 3 additions and 23 deletions

View File

@ -6867,17 +6867,6 @@
<key>Value</key>
<integer>1</integer>
</map>
<key>PlaySoundGroupChatMessages</key>
<map>
<key>Comment</key>
<string>Plays a sound when have a group chat message.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>PlaySoundIncomingVoiceCall</key>
<map>
<key>Comment</key>

View File

@ -171,8 +171,8 @@ void on_new_message(const LLSD& msg)
return;
}
// Skip toasting for system messages
if (participant_id.isNull())
// Skip toasting for system messages and for nearby chat
if (participant_id.isNull() || session_id.isNull())
{
return;
}

View File

@ -341,22 +341,13 @@
top_pad="6"
name="incoming_voice_call"
width="150" />
<check_box
enabled="false"
control_name="PlaySoundGroupChatMessages"
height="16"
label="Group chat messages"
layout="topleft"
top_pad="6"
name="group_chat_messages"
width="150" />
<check_box
control_name="PlaySoundTeleportOffer"
height="16"
label="Teleport offer"
layout="topleft"
left_pad="35"
top_pad="-59"
top_pad="-38"
name="teleport_offer"
width="150" />
<check_box