More tweaking on the UserAgentServiceConnector: add constructor that does not do DNS lookup, and use that for friends notification.

This commit is contained in:
Diva Canto
2011-06-10 21:07:50 -07:00
parent 0ae022d688
commit 5f311c91c7
2 changed files with 23 additions and 14 deletions

View File

@@ -278,7 +278,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
List<string> ids = new List<string>();
foreach (FriendInfo f in kvp.Value)
ids.Add(f.Friend);
UserAgentServiceConnector uConn = new UserAgentServiceConnector(kvp.Key);
UserAgentServiceConnector uConn = new UserAgentServiceConnector(kvp.Key, false);
List<UUID> friendsOnline = uConn.StatusNotification(ids, userID, online);
// need to debug this here
if (online)