Fix failing test

LSLKeyTest
Diva Canto 2016-06-23 06:38:34 -07:00
parent 56e2358ec2
commit 648cf51411
1 changed files with 4 additions and 1 deletions

View File

@ -1395,7 +1395,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID);
IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>();
eq.GroupMembershipData(GetRequestingAgentID(remoteClient), dataForClientID, membershipArray);
if (eq != null)
eq.GroupMembershipData(GetRequestingAgentID(remoteClient), dataForClientID, membershipArray);
else
remoteClient.SendGroupMembership(membershipArray);
remoteClient.RefreshGroupMembership();
}