Update/Modernize LLAvatarName and LLAvatarNameCache and _EVERYTHING_ they touch
Fairly certain this adds the feature in which the user may click the online notification to open a chat with the user coming online. Translators may want to look at the xml changes of this change to see what to update Removes old LegacyMultiAttachmentSupport patch Moves LLAvatarName-centric functions into LLAvatarName from elsewhere. Adds boost::signals2::connections to name polling places. Removes more old icky static callbacks Merge from Alchemy, credit where due~ Update notifications.xml to have a bunch of the tags from upstream to ease diffing
This commit is contained in:
@@ -3524,10 +3524,10 @@ void LLStartUp::initNameCache()
|
||||
|
||||
// Start cache in not-running state until we figure out if we have
|
||||
// capabilities for display name lookup
|
||||
LLAvatarNameCache::initClass(false);
|
||||
S32 phoenix_name_system = gSavedSettings.getS32("PhoenixNameSystem");
|
||||
if(phoenix_name_system <= 0 || phoenix_name_system > 3) LLAvatarNameCache::setUseDisplayNames(false);
|
||||
else LLAvatarNameCache::setUseDisplayNames(true);
|
||||
LLAvatarNameCache::initClass(false, gSavedSettings.getBOOL("UsePeopleAPI"));
|
||||
LLAvatarNameCache::setUseDisplayNames(phoenix_name_system > 0 && phoenix_name_system < 4);
|
||||
LLAvatarNameCache::setUseUsernames(!phoenix_name_system || phoenix_name_system == 1 || phoenix_name_system == 3);
|
||||
}
|
||||
|
||||
void LLStartUp::cleanupNameCache()
|
||||
|
||||
Reference in New Issue
Block a user