diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-05-04 11:31:00 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-05-04 11:31:00 +0300 |
commit | b2fd39781833cf00c09d70704f13a8fa58428292 (patch) | |
tree | 20ccf6e42bac60a0700a439ee3796c7e9eb44881 /indra/llmessage/llavatarname.h | |
parent | 2b731af53af8a4836786be4265a59a108d637f9a (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.h | 4 |
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; } |