summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplayname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerdisplayname.cpp')
-rw-r--r--indra/newview/llviewerdisplayname.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/indra/newview/llviewerdisplayname.cpp b/indra/newview/llviewerdisplayname.cpp
index 09667928ab..f71a7c2d20 100644
--- a/indra/newview/llviewerdisplayname.cpp
+++ b/indra/newview/llviewerdisplayname.cpp
@@ -178,16 +178,11 @@ class LLDisplayNameUpdate : public LLHTTPNode
// force name tag to update
LLVOAvatar::invalidateNameTag(agent_id);
- // Don't show a notification for my name, because we'll show a nicer
- // dialog
- if (agent_id != gAgent.getID())
- {
- LLSD args;
- args["OLD_NAME"] = old_display_name;
- args["SLID"] = av_name.mUsername;
- args["NEW_NAME"] = av_name.mDisplayName;
- LLNotificationsUtil::add("DisplayNameUpdate", args);
- }
+ LLSD args;
+ args["OLD_NAME"] = old_display_name;
+ args["SLID"] = av_name.mUsername;
+ args["NEW_NAME"] = av_name.mDisplayName;
+ LLNotificationsUtil::add("DisplayNameUpdate", args);
}
};