summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcachename.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-10-26 11:34:41 -0400
committerLoren Shih <seraph@lindenlab.com>2010-10-26 11:34:41 -0400
commit40689e5b325d2f31c45b377effe6334f0b37c5f2 (patch)
tree7f8048ddaf3971ff1dddfd0c2e6b3e8fde61e734 /indra/llmessage/llcachename.h
parentaf57ff75dea16ed857c27ebfa288b9881668e9ac (diff)
parenta40a2a7a465f6e03ca495c301dfbf7bfa376be30 (diff)
Automated merge up from viewer-development
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