IRC Feature Request: Ability to show only legacy names for speakers (in Adv. Chat->Chat UI preferences)
This commit is contained in:
@@ -88,7 +88,11 @@ void LLSpeaker::lookupName()
|
||||
|
||||
void LLSpeaker::onNameCache(const LLAvatarName& full_name)
|
||||
{
|
||||
LLAvatarNameCache::getPNSName(full_name, mDisplayName);
|
||||
static const LLCachedControl<bool> legacy_name("LiruLegacySpeakerNames");
|
||||
if (legacy_name)
|
||||
mDisplayName = gCacheName->cleanFullName(full_name.getLegacyName());
|
||||
else
|
||||
LLAvatarNameCache::getPNSName(full_name, mDisplayName);
|
||||
}
|
||||
|
||||
bool LLSpeaker::isInVoiceChannel()
|
||||
|
||||
Reference in New Issue
Block a user