Bug fix: update the list of friends upon MakeRoot, because child agents don't get notified of new friendships.

This commit is contained in:
Diva Canto
2010-06-05 06:56:36 -07:00
parent 63797445be
commit fe3e1c67ae

View File

@@ -267,7 +267,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
if (m_Friends.ContainsKey(agentID))
{
if (m_Friends[agentID].RegionID == UUID.Zero && m_Friends[agentID].Friends == null)
if (m_Friends[agentID].RegionID == UUID.Zero)
{
m_Friends[agentID].Friends =
m_FriendsService.GetFriends(agentID);