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.

This commit is contained in:
Diva Canto
2016-06-19 16:27:12 -07:00
parent d51fe01ed8
commit 76ab1ed10c
6 changed files with 66 additions and 3 deletions

View File

@@ -1245,7 +1245,8 @@ namespace OpenSim.Groups
SendDataUpdate(remoteClient, tellOthers);
GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID);
remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray);
IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>();
eq.GroupMembershipData(GetRequestingAgentID(remoteClient), membershipArray);
remoteClient.RefreshGroupMembership();
}