mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Now showing friends online upon grid login.
This commit is contained in:
@@ -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>)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user