Fixed merge conflict with online/offline notifications
parent
18ebacefcf
commit
397fe66910
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4330,14 +4330,14 @@ Topic: [SUBJECT], Message: [MESSAGE]
|
|||
icon="notifytip.tga"
|
||||
name="FriendOnline"
|
||||
type="notifytip">
|
||||
[FIRST] [LAST] is Online
|
||||
[NAME] is Online
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="FriendOffline"
|
||||
type="notifytip">
|
||||
[FIRST] [LAST] is Offline
|
||||
[NAME] is Offline
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
|
|
|
|||
Loading…
Reference in New Issue