diff options
author | Diva Canto | 2013-07-28 18:08:50 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-28 18:08:50 -0700 |
commit | 33b54807a1646a9457a7a718f767ccec1c0cb39f (patch) | |
tree | 731ae3e5359f7b22036adea31dc593042c96d8f6 /OpenSim/Addons/Groups/GroupsMessagingModule.cs | |
parent | Same issue. (diff) | |
download | opensim-SC_OLD-33b54807a1646a9457a7a718f767ccec1c0cb39f.zip opensim-SC_OLD-33b54807a1646a9457a7a718f767ccec1c0cb39f.tar.gz opensim-SC_OLD-33b54807a1646a9457a7a718f767ccec1c0cb39f.tar.bz2 opensim-SC_OLD-33b54807a1646a9457a7a718f767ccec1c0cb39f.tar.xz |
Changing the visibility test in groups service to be UUID.Zero.ToString() instead of "all" because some paths in the code assume there's a UUI in the RequestingAgent string.
Diffstat (limited to 'OpenSim/Addons/Groups/GroupsMessagingModule.cs')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsMessagingModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Addons/Groups/GroupsMessagingModule.cs b/OpenSim/Addons/Groups/GroupsMessagingModule.cs index 5de1fb4..cd45432 100644 --- a/OpenSim/Addons/Groups/GroupsMessagingModule.cs +++ b/OpenSim/Addons/Groups/GroupsMessagingModule.cs | |||
@@ -246,7 +246,7 @@ namespace OpenSim.Groups | |||
246 | public void SendMessageToGroup(GridInstantMessage im, UUID groupID) | 246 | public void SendMessageToGroup(GridInstantMessage im, UUID groupID) |
247 | { | 247 | { |
248 | UUID fromAgentID = new UUID(im.fromAgentID); | 248 | UUID fromAgentID = new UUID(im.fromAgentID); |
249 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers("all", groupID); | 249 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers(UUID.Zero.ToString(), groupID); |
250 | int groupMembersCount = groupMembers.Count; | 250 | int groupMembersCount = groupMembers.Count; |
251 | PresenceInfo[] onlineAgents = null; | 251 | PresenceInfo[] onlineAgents = null; |
252 | 252 | ||
@@ -403,7 +403,7 @@ namespace OpenSim.Groups | |||
403 | Scene aScene = m_sceneList[0]; | 403 | Scene aScene = m_sceneList[0]; |
404 | GridRegion regionOfOrigin = aScene.GridService.GetRegionByUUID(aScene.RegionInfo.ScopeID, regionID); | 404 | GridRegion regionOfOrigin = aScene.GridService.GetRegionByUUID(aScene.RegionInfo.ScopeID, regionID); |
405 | 405 | ||
406 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers("all", GroupID); | 406 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers(UUID.Zero.ToString(), GroupID); |
407 | List<UUID> alreadySeen = new List<UUID>(); | 407 | List<UUID> alreadySeen = new List<UUID>(); |
408 | 408 | ||
409 | //if (m_debugEnabled) | 409 | //if (m_debugEnabled) |