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
master
Mike Antipov 2010-04-16 12:04:41 +03:00
parent 492efd6678
commit f7e4e40f9d
1 changed files with 1 additions and 1 deletions

View File

@ -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)