save one call to grid to get agent groups powers (xmlrpcgoups only for now
parent
aa744eecf2
commit
7b7483ec7e
|
@ -1408,9 +1408,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||||
SendDataUpdate(remoteClient, tellOthers);
|
SendDataUpdate(remoteClient, tellOthers);
|
||||||
|
|
||||||
GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID);
|
GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID);
|
||||||
IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>();
|
remoteClient.UpdateGroupMembership(membershipArray);
|
||||||
|
|
||||||
remoteClient.RefreshGroupMembership();
|
|
||||||
remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray);
|
remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue