diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-09-10 11:53:54 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-09-10 14:34:39 -0700 |
commit | 44e1be64e0a212fb77cc6ef4664d444242d62e67 (patch) | |
tree | 13ddb0ff646d63d455fe0304749da062606c49cc | |
parent | 59676066cd740abb3002225ad67259e3dc09ab45 (diff) |
mute icons were not showing during group call when user was muted
This fixes: https://github.com/secondlife/viewer-private/issues/285
When processing messages from the voice server, the volume and not the
mute status was being checked with respect to retrieving the mute status.
-rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index 7de8cf9cb1..31d9574f38 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -2993,10 +2993,9 @@ void LLVoiceWebRTCConnection::OnDataReceivedImpl(const std::string &data, bool b participant->mIsSpeaking = participant_obj["v"].as_bool(); } - if (participant_obj.contains("v") && participant_obj["m"].is_bool()) + if (participant_obj.contains("m") && participant_obj["m"].is_bool()) { participant->mIsModeratorMuted = participant_obj["m"].as_bool(); - ; } } } |