Mantis #7915: bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2

LSLKeyTest
Diva Canto 2016-06-19 15:15:57 -07:00
parent a9fb3d0e18
commit d51fe01ed8
1 changed files with 5 additions and 3 deletions

View File

@ -267,9 +267,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
// comented out because some viewers no longer suport it
// sp.ControllingClient.AddGenericPacketHandler("avatargroupsrequest", AvatarGroupsRequest);
// we should send a DataUpdate here for compatibility,
// but this is a bad place and a bad thread to do it
// also current viewers do ignore it and ask later on a much nicer thread
// Send out group data update for compatibility.
// There might be some problem with the thread we're generating this on but not
// doing the update at this time causes problems (Mantis #7920 and #7915)
// TODO: move sending this update to a later time in the rootification of the client.
SendAgentGroupDataUpdate(sp.ControllingClient, false);
}
private void OnMakeChild(ScenePresence sp)