Now showing friends online upon grid login.

This commit is contained in:
Diva Canto
2010-02-26 10:35:23 -08:00
parent 2af7577fab
commit bbb43f9bde
5 changed files with 17 additions and 6 deletions

View File

@@ -331,11 +331,17 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
private void SendPresence(UUID agentID)
{
if (!m_Friends.ContainsKey(agentID))
{
m_log.DebugFormat("[FRIENDS MODULE]: agent {0} not found in local cache", agentID);
return;
}
IClientAPI client = LocateClientObject(agentID);
if (client == null)
{
m_log.DebugFormat("[FRIENDS MODULE]: agent's client {0} not found in local scene", agentID);
return;
}
List<string> friendList = new List<string>();