diff options
author | Diva Canto | 2016-06-19 16:27:12 -0700 |
---|---|---|
committer | Diva Canto | 2016-06-19 16:27:12 -0700 |
commit | 76ab1ed10c57d8f2190366d8a61f9c989afff3df (patch) | |
tree | 787480a3d633175c86a481944f0b39bdb5ca0713 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |
parent | Mantis #7915: bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2 (diff) | |
download | opensim-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/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 613748d..5dfbe2c 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -1372,7 +1372,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
1372 | SendDataUpdate(remoteClient, tellOthers); | 1372 | SendDataUpdate(remoteClient, tellOthers); |
1373 | 1373 | ||
1374 | GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); | 1374 | GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); |
1375 | remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray); | 1375 | IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>(); |
1376 | eq.GroupMembershipData(GetRequestingAgentID(remoteClient), membershipArray); | ||
1376 | 1377 | ||
1377 | remoteClient.RefreshGroupMembership(); | 1378 | remoteClient.RefreshGroupMembership(); |
1378 | } | 1379 | } |