mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Only send AgentOnline to the client if the friendsOnline list has elements. Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.
This commit is contained in:
@@ -284,7 +284,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
List<UUID> friendsOnline = uConn.StatusNotification(ids, userID, online);
|
||||
Thread.Sleep(100);
|
||||
// need to debug this here
|
||||
if (online)
|
||||
if (online && friendsOnline.Count > 0)
|
||||
{
|
||||
IClientAPI client = LocateClientObject(userID);
|
||||
if (client != null)
|
||||
|
||||
@@ -436,7 +436,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
|
||||
XmlRpcResponse response = null;
|
||||
try
|
||||
{
|
||||
response = request.Send(m_ServerURL, 4000);
|
||||
response = request.Send(m_ServerURL, 6000);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user