summaryrefslogtreecommitdiff
path: root/indra/newview/llcallingcard.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-03-08 11:21:06 -0800
committerJames Cook <james@lindenlab.com>2010-03-08 11:21:06 -0800
commit397fe6691018f428fb21760ffa7114948904fdd5 (patch)
tree2d197a8fe2cc3f79579334f0c5bff8b5e00e3c33 /indra/newview/llcallingcard.cpp
parent18ebacefcfb5909a58a213a97c6a687afe9b877e (diff)
Fixed merge conflict with online/offline notifications
Diffstat (limited to 'indra/newview/llcallingcard.cpp')
-rw-r--r--indra/newview/llcallingcard.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp
index 2b124118ca..b4c4ddcbf4 100644
--- a/indra/newview/llcallingcard.cpp
+++ b/indra/newview/llcallingcard.cpp
@@ -694,12 +694,11 @@ 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))
+ std::string full_name;
+ if(gCacheName->getFullName(agent_id, full_name))
{
notify = TRUE;
- args["FIRST"] = first;
- args["LAST"] = last;
+ args["NAME"] = full_name;
}
}
}