aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/Groups
diff options
context:
space:
mode:
authorDiva Canto2016-06-19 16:27:12 -0700
committerDiva Canto2016-06-19 16:27:12 -0700
commit76ab1ed10c57d8f2190366d8a61f9c989afff3df (patch)
tree787480a3d633175c86a481944f0b39bdb5ca0713 /OpenSim/Addons/Groups
parentMantis #7915: bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2 (diff)
downloadopensim-SC_OLD-76ab1ed10c57d8f2190366d8a61f9c989afff3df.zip
opensim-SC_OLD-76ab1ed10c57d8f2190366d8a61f9c989afff3df.tar.gz
opensim-SC_OLD-76ab1ed10c57d8f2190366d8a61f9c989afff3df.tar.bz2
opensim-SC_OLD-76ab1ed10c57d8f2190366d8a61f9c989afff3df.tar.xz
Restored sending group membership data via EventQueue -- this had been a regression. Took the opportunity to refactor that code, so that both Groups V2 and XmlRpcGroups can use the same function.
Diffstat (limited to 'OpenSim/Addons/Groups')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs
index 1a83f5b..f24670a 100644
--- a/OpenSim/Addons/Groups/GroupsModule.cs
+++ b/OpenSim/Addons/Groups/GroupsModule.cs
@@ -1245,7 +1245,8 @@ namespace OpenSim.Groups
1245 SendDataUpdate(remoteClient, tellOthers); 1245 SendDataUpdate(remoteClient, tellOthers);
1246 1246
1247 GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); 1247 GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID);
1248 remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray); 1248 IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>();
1249 eq.GroupMembershipData(GetRequestingAgentID(remoteClient), membershipArray);
1249 1250
1250 remoteClient.RefreshGroupMembership(); 1251 remoteClient.RefreshGroupMembership();
1251 } 1252 }