diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 7c81d6a..e654b1f 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -325,7 +325,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
325 | List<string> friendList = new List<string>(); | 325 | List<string> friendList = new List<string>(); |
326 | 326 | ||
327 | foreach (FriendInfo fi in m_Friends[agentID].Friends) | 327 | foreach (FriendInfo fi in m_Friends[agentID].Friends) |
328 | friendList.Add(fi.Friend); | 328 | { |
329 | if ((fi.TheirFlags & 1) != 0) | ||
330 | friendList.Add(fi.Friend); | ||
331 | } | ||
329 | 332 | ||
330 | PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray()); | 333 | PresenceInfo[] presence = PresenceService.GetAgents(friendList.ToArray()); |
331 | 334 | ||