aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
diff options
context:
space:
mode:
authorDiva Canto2011-06-11 17:22:35 -0700
committerDiva Canto2011-06-11 17:22:35 -0700
commite1ca77a0dbc68431131b0505f03cf45dbfe5b7d9 (patch)
tree55c64a65738ce100bc2bcf4ff7a8e911baa71942 /OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
parentSwitched order of SQL statements in Friends migration -- resulted in the wron... (diff)
downloadopensim-SC_OLD-e1ca77a0dbc68431131b0505f03cf45dbfe5b7d9.zip
opensim-SC_OLD-e1ca77a0dbc68431131b0505f03cf45dbfe5b7d9.tar.gz
opensim-SC_OLD-e1ca77a0dbc68431131b0505f03cf45dbfe5b7d9.tar.bz2
opensim-SC_OLD-e1ca77a0dbc68431131b0505f03cf45dbfe5b7d9.tar.xz
Only send AgentOnline to the client if the friendsOnline list has elements. Also, increased the timeout on UserAgentServiceConnector, StatusNotification again.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
index 40506a5..2c91514 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs
@@ -284,7 +284,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
284 List<UUID> friendsOnline = uConn.StatusNotification(ids, userID, online); 284 List<UUID> friendsOnline = uConn.StatusNotification(ids, userID, online);
285 Thread.Sleep(100); 285 Thread.Sleep(100);
286 // need to debug this here 286 // need to debug this here
287 if (online) 287 if (online && friendsOnline.Count > 0)
288 { 288 {
289 IClientAPI client = LocateClientObject(userID); 289 IClientAPI client = LocateClientObject(userID);
290 if (client != null) 290 if (client != null)