HG Friends: don't notify if the server isn't there.
parent
25e5b6a76c
commit
df624c13c9
|
@ -48,6 +48,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
if (Util.ParseUniversalUserIdentifier(ids[0], out friendID, out tmp, out tmp, out tmp, out tmp))
|
if (Util.ParseUniversalUserIdentifier(ids[0], out friendID, out tmp, out tmp, out tmp, out tmp))
|
||||||
{
|
{
|
||||||
string friendsServerURI = m_FriendsModule.UserManagementModule.GetUserServerURL(friendID, "FriendsServerURI");
|
string friendsServerURI = m_FriendsModule.UserManagementModule.GetUserServerURL(friendID, "FriendsServerURI");
|
||||||
|
if (friendsServerURI != string.Empty)
|
||||||
|
{
|
||||||
HGFriendsServicesConnector fConn = new HGFriendsServicesConnector(friendsServerURI);
|
HGFriendsServicesConnector fConn = new HGFriendsServicesConnector(friendsServerURI);
|
||||||
|
|
||||||
List<UUID> friendsOnline = fConn.StatusNotification(ids, userID, online);
|
List<UUID> friendsOnline = fConn.StatusNotification(ids, userID, online);
|
||||||
|
@ -64,3 +66,4 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue