summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelblockedlist.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-12-14 14:19:17 -0800
committerMerov Linden <merov@lindenlab.com>2012-12-14 14:19:17 -0800
commit9b556fb3fea0a97f5773d8fd435a428b0fafacbf (patch)
tree70ad5507e20f3ddcff5610a535fc32b31ad14508 /indra/newview/llpanelblockedlist.cpp
parent0182eb11f70b6f5a485f8b447acd9c14117a7186 (diff)
CHUI-599 : Use the account name in all places that are not UI related but use avatar names to index, search and other code only uses.
Diffstat (limited to 'indra/newview/llpanelblockedlist.cpp')
-rw-r--r--indra/newview/llpanelblockedlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelblockedlist.cpp b/indra/newview/llpanelblockedlist.cpp
index b4deb7a920..ecab7d2167 100644
--- a/indra/newview/llpanelblockedlist.cpp
+++ b/indra/newview/llpanelblockedlist.cpp
@@ -224,7 +224,7 @@ void LLPanelBlockedList::onFilterEdit(const std::string& search_string)
void LLPanelBlockedList::callbackBlockPicked(const uuid_vec_t& ids, const std::vector<LLAvatarName> names)
{
if (names.empty() || ids.empty()) return;
- LLMute mute(ids[0], names[0].getUserName(), LLMute::AGENT);
+ LLMute mute(ids[0], names[0].getAccountName(), LLMute::AGENT);
LLMuteList::getInstance()->add(mute);
showPanelAndSelect(mute.mID);
}