summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarname.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-05-04 11:31:00 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-05-04 11:31:00 +0300
commitb2fd39781833cf00c09d70704f13a8fa58428292 (patch)
tree20ccf6e42bac60a0700a439ee3796c7e9eb44881 /indra/llmessage/llavatarname.h
parent2b731af53af8a4836786be4265a59a108d637f9a (diff)
MAINT-6220 enable searching of the friend list with the classic username of the avatar.
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; }