diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llspeakers.cpp | 6 | ||||
-rw-r--r-- | indra/newview/llspeakers.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index 6bbd3c6687..6e5a867426 100644 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -657,12 +657,12 @@ void LLIMSpeakerMgr::moderateVoiceParticipant(const LLUUID& avatar_id, bool unmu new ModerationResponder(getSessionID())); } -void LLIMSpeakerMgr::moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute) +void LLIMSpeakerMgr::moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute_everyone_else) { // TODO: mantipov: add more intellectual processing of several following requests mReverseVoiceModeratedAvatarID = excluded_avatar_id; - moderateVoiceSession(getSessionID(), !unmute); + moderateVoiceSession(getSessionID(), !unmute_everyone_else); /* LLSpeakerMgr::speaker_list_t speakers; getSpeakerList(&speakers, FALSE); @@ -675,7 +675,7 @@ void LLIMSpeakerMgr::moderateVoiceOtherParticipants(const LLUUID& excluded_avata if (excluded_avatar_id == speaker_id) continue; - moderateVoiceParticipant(speaker_id, unmute); + moderateVoiceParticipant(speaker_id, unmute_everyone_else); } */ } diff --git a/indra/newview/llspeakers.h b/indra/newview/llspeakers.h index 55d2351cbf..1a8c23f56a 100644 --- a/indra/newview/llspeakers.h +++ b/indra/newview/llspeakers.h @@ -181,11 +181,11 @@ public: * It based call moderateVoiceParticipant() for each avatar should be muted/unmuted. * * @param[in] excluded_avatar_id UUID of avatar NOT to be processed - * @param[in] unmute if true - avatars will be muted, otherwise - unmuted. + * @param[in] unmute_everyone_else if false - avatars will be muted, otherwise - unmuted. * * @see moderateVoiceParticipant() */ - void moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute); + void moderateVoiceOtherParticipants(const LLUUID& excluded_avatar_id, bool unmute_everyone_else); void processSessionUpdate(const LLSD& session_update); |