Commits

Anonymous committed b35b044

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/
(transplanted from fb2af72d10231e04b2e79a7d487ea9e8559c14b8)

  • Participants
  • Parent commits 989b216

Comments (0)

Files changed (1)

indra/newview/llspeakers.cpp

 
 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)