fixed EXT-6476 (waiting).txt chat log file with "(waiting)" instead of avatar name gets created when Offering Teleport from Search Floater
offer teleport action is put on hold until Name Cache gets updated with appropriate avatar name --HG-- branch : product-enginemeow-7.2.2
parent
ccbff3f75a
commit
858d1e9ad0
|
|
@ -161,6 +161,14 @@ void LLAvatarActions::offerTeleport(const LLUUID& invitee)
|
|||
if (invitee.isNull())
|
||||
return;
|
||||
|
||||
//waiting until Name Cache gets updated with corresponding avatar name
|
||||
std::string just_to_request_name;
|
||||
if (!gCacheName->getFullName(invitee, just_to_request_name))
|
||||
{
|
||||
gCacheName->get(invitee, FALSE, boost::bind((void (*)(const LLUUID&)) &LLAvatarActions::offerTeleport, invitee));
|
||||
return;
|
||||
}
|
||||
|
||||
LLDynamicArray<LLUUID> ids;
|
||||
ids.push_back(invitee);
|
||||
offerTeleport(ids);
|
||||
|
|
|
|||
Loading…
Reference in New Issue