summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelme.cpp3
-rw-r--r--indra/newview/llviewermessage.cpp14
2 files changed, 0 insertions, 17 deletions
diff --git a/indra/newview/llpanelme.cpp b/indra/newview/llpanelme.cpp
index aa19952317..d81d84767b 100644
--- a/indra/newview/llpanelme.cpp
+++ b/indra/newview/llpanelme.cpp
@@ -307,9 +307,6 @@ void LLPanelMyProfileEdit::onCacheSetName(bool success,
{
if (success)
{
- // HACK: Use chat to invalidate names
- send_chat_from_viewer("refreshname", CHAT_TYPE_NORMAL, 0);
-
// Re-fetch my name, as it may have been sanitized by the service
LLAvatarNameCache::get(getAvatarId(),
boost::bind(&LLPanelMyProfileEdit::onNameCache, this, _1, _2));
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 9cecf1fcca..13f52d8db7 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -2731,20 +2731,6 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
}
chat.mText = mesg;
- // IDEVO HACK Use chat to invalidate names
- if (chat.mSourceType == CHAT_SOURCE_AGENT
- && chat.mText == "refreshname")
- {
- LLAvatarNameCache::erase(chat.mFromID);
-
- // force name tag to update
- LLVOAvatar* avatar = dynamic_cast<LLVOAvatar*>(chatter);
- if (avatar)
- {
- avatar->clearNameTag();
- }
- }
-
// Look for the start of typing so we can put "..." in the bubbles.
if (CHAT_TYPE_START == chat.mChatType)
{