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/Addons/Groups/GroupsModule.cs | |
parent | Mantis #7915: bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2 (diff) | |
download | opensim-SC-76ab1ed10c57d8f2190366d8a61f9c989afff3df.zip opensim-SC-76ab1ed10c57d8f2190366d8a61f9c989afff3df.tar.gz opensim-SC-76ab1ed10c57d8f2190366d8a61f9c989afff3df.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsModule.cs | 3 |
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 | } |