diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-04-16 12:04:41 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-04-16 12:04:41 +0300 |
commit | f7e4e40f9d68fdd9e1bdfa4f0bfb4ee1f053c3a2 (patch) | |
tree | c4f94dc40960522e4b38d25b23d4cec0aea1e70e | |
parent | 492efd6678f2f9db8d66b0bde5136bc1e5740cbb (diff) |
Fixed major bug EXT-6851 (Moderator is unable to mute group voice chat participant after his reconnect)
Reason: not proper condition to check is LLSpeaker is in voice channel (implemented for EXT-3944)
Fix: Updated condition to check is speaker in voice channel state.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/242/
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llspeakers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index 4573520647..ba6a44dff4 100644 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -84,7 +84,7 @@ void LLSpeaker::onAvatarNameLookup(const LLUUID& id, const std::string& first, c bool LLSpeaker::isInVoiceChannel() { - return mStatus == LLSpeaker::STATUS_VOICE_ACTIVE || mStatus == LLSpeaker::STATUS_MUTED; + return mStatus <= LLSpeaker::STATUS_VOICE_ACTIVE || mStatus == LLSpeaker::STATUS_MUTED; } LLSpeakerUpdateModeratorEvent::LLSpeakerUpdateModeratorEvent(LLSpeaker* source) |