summaryrefslogtreecommitdiff
path: root/indra/newview/llfriendcard.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/llfriendcard.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/llfriendcard.cpp')
-rw-r--r--indra/newview/llfriendcard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfriendcard.cpp b/indra/newview/llfriendcard.cpp
index 0e72fab32c..a4dfd94496 100644
--- a/indra/newview/llfriendcard.cpp
+++ b/indra/newview/llfriendcard.cpp
@@ -533,7 +533,7 @@ void LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID)
bool shouldBeAdded = true;
LLAvatarName av_name;
LLAvatarNameCache::get(avatarID, &av_name);
- const std::string& name = av_name.getUserName();
+ const std::string& name = av_name.getAccountName();
lldebugs << "Processing buddy name: " << name
<< ", id: " << avatarID