Pull merge from richard/viewer-chui
commit
2843ba11bc
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue