From aa64d3bb7c957b41da20acff710f4dd4c2396332 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 6 Oct 2015 18:17:15 +0100 Subject: dont send of the contents of LinkFolders --- OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Capabilities/Handlers') diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs index 7197049..0312ec2 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) -- cgit v1.1