From 50433c36dc421e931cbbc487cc2875c09062612b Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Wed, 5 May 2010 11:39:52 +0300 Subject: Fixed normal bug EXT-6865 (Voice isn't blocked for Avaline callers connected via PSTN bridge) Current patch fixes displaing of Avaline callers in Block List: * Now it shows as Avaline Caller 1, etc. Implemented via using name from AvatarListItem to create LLMute object. Reviewed by Aimee Walton at https://codereview.productengine.com/secondlife/r/340/ --HG-- branch : product-engine --- indra/newview/llparticipantlist.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp index a058548459..8c908449a0 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(mParent.mAvatarList->getItemByValue(speaker_id)); + if (NULL == item) return; - name = speakerp->mDisplayName; + name = item->getAvatarName(); LLMute::EType mute_type; switch (speakerp->mType) -- cgit v1.2.3