diff options
author | Ychebotarev ProductEngine <ychebotarev@productengine.com> | 2010-02-10 14:42:30 +0200 |
---|---|---|
committer | Ychebotarev ProductEngine <ychebotarev@productengine.com> | 2010-02-10 14:42:30 +0200 |
commit | 5831cb1394338cdfc45e3188a034edb54c2b785f (patch) | |
tree | 56461e1f2d0a44c872d994d41342166aac1e23d0 /indra/newview/llcallingcard.cpp | |
parent | 3e9e874ab467dd33ff9ea542ac0834e9fe40377d (diff) | |
parent | ea9185e0dcfde046232cc2ce20d34171b96e37e5 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
-rw-r--r-- | indra/newview/llcallingcard.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp index d988770f90..996139fccc 100644 --- a/indra/newview/llcallingcard.cpp +++ b/indra/newview/llcallingcard.cpp @@ -56,6 +56,7 @@ #include "llnotifications.h" #include "llnotificationsutil.h" #include "llresmgr.h" +#include "llslurl.h" #include "llimview.h" #include "llviewercontrol.h" #include "llviewernetwork.h" @@ -689,13 +690,8 @@ void LLAvatarTracker::processNotify(LLMessageSystem* msg, bool online) setBuddyOnline(agent_id,online); if(chat_notify) { - std::string first, last; - if(gCacheName->getName(agent_id, first, last)) - { - notify = TRUE; - args["FIRST"] = first; - args["LAST"] = last; - } + notify = TRUE; + args["NAME_SLURL"] = LLSLURL::buildCommand("agent", agent_id, "about"); } } else |