diff options
author | Diva Canto | 2013-07-28 16:44:31 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-28 16:44:31 -0700 |
commit | c442ef346eee83320d92ebc829cf3dec7bd2ed98 (patch) | |
tree | 805ebbf40ffaffd639440a4bfef0423828bbcf0a /OpenSim/Addons/Groups/GroupsMessagingModule.cs | |
parent | Fix an issue where HG members of groups weren't seeing the entire membership ... (diff) | |
download | opensim-SC_OLD-c442ef346eee83320d92ebc829cf3dec7bd2ed98.zip opensim-SC_OLD-c442ef346eee83320d92ebc829cf3dec7bd2ed98.tar.gz opensim-SC_OLD-c442ef346eee83320d92ebc829cf3dec7bd2ed98.tar.bz2 opensim-SC_OLD-c442ef346eee83320d92ebc829cf3dec7bd2ed98.tar.xz |
Same issue as previous commit.
Diffstat (limited to 'OpenSim/Addons/Groups/GroupsMessagingModule.cs')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsMessagingModule.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Addons/Groups/GroupsMessagingModule.cs b/OpenSim/Addons/Groups/GroupsMessagingModule.cs index 3cece77..5de1fb4 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(fromAgentID.ToString(), groupID); | 249 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers("all", groupID); |
250 | int groupMembersCount = groupMembers.Count; | 250 | int groupMembersCount = groupMembers.Count; |
251 | PresenceInfo[] onlineAgents = null; | 251 | PresenceInfo[] onlineAgents = null; |
252 | 252 | ||
@@ -403,15 +403,12 @@ 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 | // Let's find out who sent it | 406 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers("all", GroupID); |
407 | string requestingAgent = m_UserManagement.GetUserUUI(new UUID(msg.fromAgentID)); | ||
408 | |||
409 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers(requestingAgent, GroupID); | ||
410 | List<UUID> alreadySeen = new List<UUID>(); | 407 | List<UUID> alreadySeen = new List<UUID>(); |
411 | 408 | ||
412 | if (m_debugEnabled) | 409 | //if (m_debugEnabled) |
413 | foreach (GroupMembersData m in groupMembers) | 410 | // foreach (GroupMembersData m in groupMembers) |
414 | m_log.DebugFormat("[Groups.Messaging]: member {0}", m.AgentID); | 411 | // m_log.DebugFormat("[Groups.Messaging]: member {0}", m.AgentID); |
415 | 412 | ||
416 | foreach (Scene s in m_sceneList) | 413 | foreach (Scene s in m_sceneList) |
417 | { | 414 | { |