diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-04-08 21:29:12 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-04-08 21:29:12 -0700 |
commit | 39cb0bca32b4017e0d0c0ef7dc4433b97f4bc1ee (patch) | |
tree | 87707504c1b6c9c047461f6daef90259959ea0f6 /indra | |
parent | 4be63d8c1f56fb6d00f13b9a2d84f2d58e170344 (diff) |
Show mute/unmute status in group voice
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index cb01a079cc..710067c2bf 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -2823,6 +2823,11 @@ void LLVoiceWebRTCConnection::OnDataReceivedImpl(const std::string &data, bool b { participant->mIsSpeaking = voice_data[participant_id].get("v", Json::Value(false)).asBool(); } + + if (voice_data[participant_id].isMember("m")) + { + participant->mIsModeratorMuted = voice_data[participant_id].get("m", Json::Value(false)).asBool(); + } } } } |