Merge pull request #2543 from secondlife/roxie/webrtc-285

mute icons were not showing during group call when user was muted
meow-7.2.2
Roxanne Skelly 2024-09-12 09:46:20 -07:00 committed by GitHub
commit 1894136e9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -2996,10 +2996,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();
;
}
}
}