STORM-1952: Fix name sometimes appearing as (waiting) by generating a slurl instead of fetching a name

master
Cinders 2013-07-08 17:30:57 -06:00
parent 7e0bc07e5c
commit 00cd82e3e5
1 changed files with 2 additions and 2 deletions

View File

@ -1109,8 +1109,8 @@ void LLPanelGroupMembersSubTab::handleEjectMembers()
if (selection_count == 1)
{
LLSD args;
std::string fullname;
gCacheName->getFullName(mMembersList->getValue(), fullname);
LLUUID selected_avatar = mMembersList->getValue().asUUID();
std::string fullname = LLSLURL("agent", selected_avatar, "inspect").getSLURLString();
args["AVATAR_NAME"] = fullname;
LLSD payload;
LLNotificationsUtil::add("EjectGroupMemberWarning",