summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupinvite.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/llpanelgroupinvite.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/llpanelgroupinvite.cpp')
-rw-r--r--indra/newview/llpanelgroupinvite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelgroupinvite.cpp b/indra/newview/llpanelgroupinvite.cpp
index a2bbc5400c..3f0c6c4613 100644
--- a/indra/newview/llpanelgroupinvite.cpp
+++ b/indra/newview/llpanelgroupinvite.cpp
@@ -482,7 +482,7 @@ void LLPanelGroupInvite::addUsers(uuid_vec_t& agent_ids)
}
else
{
- names.push_back(av_name.getUserName());
+ names.push_back(av_name.getAccountName());
}
}
}
@@ -495,7 +495,7 @@ void LLPanelGroupInvite::addUserCallback(const LLUUID& id, const LLAvatarName& a
std::vector<std::string> names;
uuid_vec_t agent_ids;
agent_ids.push_back(id);
- names.push_back(av_name.getUserName());
+ names.push_back(av_name.getAccountName());
mImplementation->addUsers(names, agent_ids);
}