summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupnotices.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-17 09:48:43 -0800
committerJames Cook <james@lindenlab.com>2010-02-17 09:48:43 -0800
commitffb741f862c9bc3c072bb2c63fb93707940d1d97 (patch)
treed9d3d253f4956cb58246125f6607902f462528c6 /indra/newview/llpanelgroupnotices.cpp
parent298d012f3b9790c1d3f16251eff6e5219bfaaf88 (diff)
DEV-46233 From field in group notices table contains SLID with Resident
Raw name being sent from server
Diffstat (limited to 'indra/newview/llpanelgroupnotices.cpp')
-rw-r--r--indra/newview/llpanelgroupnotices.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelgroupnotices.cpp b/indra/newview/llpanelgroupnotices.cpp
index 6210973dae..849afce34d 100644
--- a/indra/newview/llpanelgroupnotices.cpp
+++ b/indra/newview/llpanelgroupnotices.cpp
@@ -36,6 +36,7 @@
#include "llview.h"
+#include "llcachename.h"
#include "llinventory.h"
#include "llviewerinventory.h"
#include "llinventoryfunctions.h"
@@ -533,6 +534,9 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg)
msg->getU8("Data","AssetType",asset_type,i);
msg->getU32("Data","Timestamp",timestamp,i);
+ // IDEVO clean up legacy "Resident" names
+ name = LLCacheName::cleanFullName(name);
+
LLSD row;
row["id"] = id;