From aa64d3bb7c957b41da20acff710f4dd4c2396332 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 6 Oct 2015 18:17:15 +0100 Subject: [PATCH] dont send of the contents of LinkFolders --- .../Handlers/FetchInventory/FetchInvDescHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs index 7197049f16..0312ec2301 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs @@ -441,6 +441,10 @@ namespace OpenSim.Capabilities.Handlers } // Now scan for folder links and insert the items they target and those links at the head of the return data + +/* dont send contents of LinkFolders. +from docs seems this was never a spec + foreach (InventoryItemBase item in originalItems) { if (item.AssetType == (int)AssetType.LinkFolder) @@ -471,6 +475,7 @@ namespace OpenSim.Capabilities.Handlers } } } +*/ } // foreach (InventoryItemBase item in contents.Items)