diff options
author | Merov Linden <merov@lindenlab.com> | 2013-10-04 09:47:26 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-10-04 09:47:26 -0700 |
commit | 1e32b9dd33fb9e2f0d9a7935a3696b423a191354 (patch) | |
tree | adeadd5ef0b8c4514b325f74c3426b2af76e422b /indra/newview/llchathistory.cpp | |
parent | f53b2bd880875b5194b6d298e1aad7d8951db9f3 (diff) | |
parent | f7158bc5afcec1da8b9d2d5a4ed86921e62d4959 (diff) |
Pull merge of lindenlab/viewer-release
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rwxr-xr-x | indra/newview/llchathistory.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index af3c6eff11..43a733f918 100755 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -898,20 +898,10 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL LLStyle::Params link_params(body_message_params); link_params.overwriteFrom(LLStyleMap::instance().lookupAgent(chat.mFromID)); - if (from_me) - { std::string localized_name; - bool is_localized = LLTrans::findString(localized_name, "AgentNameSubst"); - mEditor->appendText((is_localized? localized_name:"(You)") + delimiter, - prependNewLineState, link_params); - prependNewLineState = false; - } - else - { // Add link to avatar's inspector and delimiter to message. - mEditor->appendText(std::string(link_params.link_href) + delimiter, - prependNewLineState, link_params); - prependNewLineState = false; - } + mEditor->appendText(std::string(link_params.link_href) + delimiter, + prependNewLineState, link_params); + prependNewLineState = false; } else { |