diff --git a/indra/newview/llpanelgroupnotices.cpp b/indra/newview/llpanelgroupnotices.cpp index 29fbfdeaaa..4a2789df62 100755 --- a/indra/newview/llpanelgroupnotices.cpp +++ b/indra/newview/llpanelgroupnotices.cpp @@ -57,6 +57,8 @@ #include "llnotificationsutil.h" #include "llgiveinventory.h" +#include "llviewercontrol.h" // FIRE-11247 - gSavedSettings + static LLRegisterPanelClassWrapper t_panel_group_notices("panel_group_notices"); @@ -547,7 +549,10 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg) msg->getU32("Data","Timestamp",timestamp,i); // we only have the legacy name here, convert it to a username - name = LLCacheName::buildUsername(name); + // FIRE-11247 - Let the user decide how they want to see names + //name = LLCacheName::buildUsername(name); + name = gSavedSettings.getBOOL("FSNameTagShowLegacyUsernames") ? LLCacheName::buildLegacyName(name) : LLCacheName::buildUsername(name); + // LLSD row; row["id"] = id;