summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarname.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-08-11 15:36:09 -0400
committerOz Linden <oz@lindenlab.com>2016-08-11 15:36:09 -0400
commit6ff420d705625fef4b0456c19bb9c766cabb31af (patch)
tree16c27571df04932dd830b35e06cdf4e9b5dbf07e /indra/llmessage/llavatarname.h
parentc32b27f5b77c7d8e53b11163d04f2842949d71de (diff)
parent4fb100ac7a33174883184f1320d0beac08ead3a7 (diff)
merge changes for 4.0.7-release
Diffstat (limited to 'indra/llmessage/llavatarname.h')
-rw-r--r--indra/llmessage/llavatarname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmessage/llavatarname.h b/indra/llmessage/llavatarname.h
index 1cb3ae421f..192f43f07c 100644
--- a/indra/llmessage/llavatarname.h
+++ b/indra/llmessage/llavatarname.h
@@ -65,7 +65,7 @@ public:
// For normal names, returns "James Linden (james.linden)"
// When display names are disabled returns just "James Linden"
- std::string getCompleteName() const;
+ std::string getCompleteName(bool use_parentheses = true) const;
// Returns "James Linden" or "bobsmith123 Resident" for backwards
// compatibility with systems like voice and muting
@@ -80,7 +80,7 @@ public:
// Returns "James Linden" or "bobsmith123 Resident"
// Used where we explicitely prefer or need a non UTF-8 legacy (ASCII) name
// Also used for backwards compatibility with systems like voice and muting
- std::string getUserName() const;
+ std::string getUserName(bool lowercase = false) const;
// Returns "james.linden" or the legacy name for very old names
std::string getAccountName() const { return mUsername; }