Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
commit
ba38b3b2df
|
@ -325,7 +325,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
List<string> friendList = new List<string>();
|
List<string> friendList = new List<string>();
|
||||||
|
|
||||||
foreach (FriendInfo fi in m_Friends[agentID].Friends)
|
foreach (FriendInfo fi in m_Friends[agentID].Friends)
|
||||||
friendList.Add(fi.Friend);
|
{
|
||||||
|
if ((fi.TheirFlags & 1) != 0)
|
||||||
|
friendList.Add(fi.Friend);
|
||||||
|
}
|
||||||
|
|
||||||
PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray());
|
PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue