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

@@ -321,7 +321,7 @@ namespace OpenSim.Services.Connectors
string reply = string.Empty;
string reqString = ServerUtils.BuildQueryString(sendData);
// m_log.DebugFormat("[PRESENCE CONNECTOR]: queryString = {0}", reqString);
//m_log.DebugFormat("[PRESENCE CONNECTOR]: queryString = {0}", reqString);
try
{
reply = SynchronousRestFormsRequester.MakeRequest("POST",
@@ -351,7 +351,7 @@ namespace OpenSim.Services.Connectors
}
Dictionary<string, object>.ValueCollection pinfosList = replyData.Values;
//m_log.DebugFormat("[PRESENCE CONNECTOR]: GetAgents returned {0} elements", pinfosList.Count);
m_log.DebugFormat("[PRESENCE CONNECTOR]: GetAgents returned {0} elements", pinfosList.Count);
foreach (object presence in pinfosList)
{
if (presence is Dictionary<string, object>)

View File

@@ -206,6 +206,7 @@ namespace OpenSim.Services.PresenceService
}
}
m_log.DebugFormat("[PRESENCE SERVICE]: GetAgents for {0} userIDs found {1} presences", userIDs.Length, info.Count);
return info.ToArray();
}