DEV-50013 Use new cache to get legacy name for Vivox
parent
d674d11f89
commit
01fa137993
|
|
@ -2658,12 +2658,16 @@ void LLVivoxVoiceClient::buildLocalAudioUpdates(std::ostringstream &stream)
|
|||
|
||||
void LLVivoxVoiceClient::checkFriend(const LLUUID& id)
|
||||
{
|
||||
std::string name;
|
||||
buddyListEntry *buddy = findBuddy(id);
|
||||
|
||||
// Make sure we don't add a name before it's been looked up.
|
||||
if(gCacheName->getFullName(id, name))
|
||||
LLAvatarName av_name;
|
||||
if(LLAvatarNameCache::get(id, &av_name))
|
||||
{
|
||||
// *NOTE: For now, we feed legacy names to Vivox because I don't know
|
||||
// if their service can support a mix of new and old clients with
|
||||
// different sorts of names.
|
||||
std::string name = av_name.getLegacyName();
|
||||
|
||||
const LLRelationship* relationInfo = LLAvatarTracker::instance().getBuddyInfo(id);
|
||||
bool canSeeMeOnline = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue