From d51fe01ed88a5274c5eeb763a4b1cee00f55db96 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 19 Jun 2016 15:15:57 -0700 Subject: [PATCH] Mantis #7915: bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2 --- .../OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 8d587b9a4e..613748d6a7 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs @@ -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)