diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp index a05854845927355a9c31bb7cb08d5ff22034742c..8c908449a0a4b15527fcbce87a0b3c9456a44081 100644 --- a/indra/newview/llparticipantlist.cpp +++ b/indra/newview/llparticipantlist.cpp @@ -719,8 +719,10 @@ void LLParticipantList::LLParticipantListMenu::toggleMute(const LLSD& userdata, { return; } + LLAvatarListItem* item = dynamic_cast<LLAvatarListItem*>(mParent.mAvatarList->getItemByValue(speaker_id)); + if (NULL == item) return; - name = speakerp->mDisplayName; + name = item->getAvatarName(); LLMute::EType mute_type; switch (speakerp->mType)