Skip to content
Snippets Groups Projects
Commit 6f522084 authored by Andrey Kleshchev's avatar Andrey Kleshchev Committed by Andrey Lihatskiy
Browse files

SL-18426 At log in only a part friends reported to chat as online

Server sends updates in bulk now, so notify per agent instead of per update
parent 07baa83e
No related branches found
No related tags found
No related merge requests found
...@@ -719,11 +719,12 @@ void LLAvatarTracker::processNotify(LLMessageSystem* msg, bool online) ...@@ -719,11 +719,12 @@ void LLAvatarTracker::processNotify(LLMessageSystem* msg, bool online)
// we were tracking someone who went offline // we were tracking someone who went offline
deleteTrackingData(); deleteTrackingData();
} }
}
if(chat_notify) if(chat_notify)
{ {
// Look up the name of this agent for the notification // Look up the name of this agent for the notification
LLAvatarNameCache::get(agent_id,boost::bind(&on_avatar_name_cache_notify,_1, _2, online, payload)); LLAvatarNameCache::get(agent_id,boost::bind(&on_avatar_name_cache_notify,_1, _2, online, payload));
}
} }
mModifyMask |= LLFriendObserver::ONLINE; mModifyMask |= LLFriendObserver::ONLINE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment