Almost completely stripped, saving the final piece for tomorrow
((Double clicking from list of chat people on right of chats))
This commit is contained in:
@@ -878,15 +878,12 @@ void LLFloaterAvatarList::onClickIM(void* userdata)
|
||||
// Single avatar
|
||||
LLUUID agent_id = ids[0];
|
||||
|
||||
char buffer[MAX_STRING];
|
||||
// [Ansariel: Display name support]
|
||||
// snprintf(buffer, MAX_STRING, "%s", avlist->mAvatars[agent_id].getName().c_str());
|
||||
LLAvatarName avatar_name;
|
||||
if (LLAvatarNameCache::get(agent_id, &avatar_name))
|
||||
{
|
||||
snprintf(buffer, MAX_STRING, "%s", avatar_name.getLegacyName().c_str());
|
||||
gIMMgr->setFloaterOpen(TRUE);
|
||||
gIMMgr->addSession(buffer,IM_NOTHING_SPECIAL,agent_id);
|
||||
gIMMgr->addSession(LLCacheName::cleanFullName(avatar_name.getLegacyName()),IM_NOTHING_SPECIAL,agent_id);
|
||||
}
|
||||
// [Ansariel: Display name support]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user