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.
master
Roxie Linden 2024-09-10 11:53:54 -07:00
parent 59676066cd
commit 44e1be64e0
1 changed files with 1 additions and 2 deletions

View File

@ -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();
;
}
}
}