diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-09-13 16:20:52 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-09-13 16:20:52 -0700 |
commit | e27ac0abf7bef6e61c2d81911cc0c693206ee401 (patch) | |
tree | 43291b077aa19cc612410c09c9d89d1214eb2f17 /indra/newview | |
parent | b344b406df30975e6e434a6d90a4bf6c531610ba (diff) |
As a resident I should also see the local chat message about me changing my display name so that my own chatlogs include my own changes.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewerdisplayname.cpp | 15 |
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); } }; |