summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcachename.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-11-05 16:17:54 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-11-05 16:17:54 -0400
commit7318214ed30f57fe04dd7828fffede949fee6245 (patch)
tree71f22a09fe50176e9b7664611f7ad3addc254ec9 /indra/llmessage/llcachename.h
parentddff1c68f22fbee00178d223eaac382836dba5f7 (diff)
parent4a8066856756cc9153cfab398a9a9b277a9a5e5d (diff)
merge
Diffstat (limited to 'indra/llmessage/llcachename.h')
-rw-r--r--indra/llmessage/llcachename.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llcachename.h b/indra/llmessage/llcachename.h
index b469803060..b108e37157 100644
--- a/indra/llmessage/llcachename.h
+++ b/indra/llmessage/llcachename.h
@@ -90,6 +90,12 @@ public:
// "Random Linden" -> "random.linden"
static std::string buildUsername(const std::string& name);
+ // Converts a complete display name to a legacy name
+ // if possible, otherwise returns the input
+ // "Alias (random.linden)" -> "Random Linden"
+ // "Something random" -> "Something random"
+ static std::string buildLegacyName(const std::string& name);
+
// If available, this method copies the group name into the string
// provided. The caller must allocate at least
// DB_GROUP_NAME_BUF_SIZE characters. If not available, this