summaryrefslogtreecommitdiff
path: root/indra/newview/llcallingcard.cpp
diff options
context:
space:
mode:
authorleyla <leyla@leyla.com>2010-06-02 11:23:02 -0700
committerleyla <leyla@leyla.com>2010-06-02 11:23:02 -0700
commitbc7837a697bb1b9dac3bef9019dac1fcce2ffa0a (patch)
treedcd2f70c8ce4e926cd08f80babbb077f1ce0535c /indra/newview/llcallingcard.cpp
parent010dba68ad923cf66b1e05e6969a21f7288fe78a (diff)
notification fixes
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
-rw-r--r--indra/newview/llcallingcard.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index 9937364bc6..1685562013 100644
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -638,12 +638,9 @@ void LLAvatarTracker::processChange(LLMessageSystem* msg)
{
if((mBuddyInfo[agent_id]->getRightsGrantedFrom() ^ new_rights) & LLRelationship::GRANT_MODIFY_OBJECTS)
{
- std::string name;
LLSD args;
- if(gCacheName->getFullName(agent_id, name))
- {
- args["NAME"] = name;
- }
+ args["NAME"] = LLSLURL("agent", agent_id, "displayname").getSLURLString();
+
LLSD payload;
payload["from_id"] = agent_id;
if(LLRelationship::GRANT_MODIFY_OBJECTS & new_rights)