From 39cb0bca32b4017e0d0c0ef7dc4433b97f4bc1ee Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Mon, 8 Apr 2024 21:29:12 -0700 Subject: Show mute/unmute status in group voice --- indra/newview/llvoicewebrtc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/llvoicewebrtc.cpp') 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(); + } } } } -- cgit v1.2.3