void LLParticipantList::LLParticipantListMenu::moderateVoiceParticipant(const LLUUID& avatar_id, bool unmute) { LLIMSpeakerMgr* mgr = dynamic_cast<LLIMSpeakerMgr*>(mParent.mSpeakerMgr); if (mgr) { mgr->moderateVoiceParticipant(avatar_id, unmute); } }
void LLParticipantList::moderateVoiceParticipant(const LLSD& param) { if (!gAgent.getRegion()) return; LLIMSpeakerMgr* mgr = dynamic_cast<LLIMSpeakerMgr*>(mSpeakerMgr); if (mgr) { mgr->moderateVoiceParticipant(mAvatarList->getValue(), param); } }