diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs index eef60a1..698fd56 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs | |||
@@ -217,12 +217,19 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
217 | return; | 217 | return; |
218 | } | 218 | } |
219 | } | 219 | } |
220 | else | 220 | } |
221 | if (sp == null) | ||
222 | { | ||
223 | inventoryURL = UserManagementModule.GetUserServerURL(userID, "InventoryServerURI"); | ||
224 | if (inventoryURL != null && inventoryURL != string.Empty) | ||
221 | { | 225 | { |
222 | inventoryURL = UserManagementModule.GetUserServerURL(userID, "InventoryServerURI"); | ||
223 | inventoryURL = inventoryURL.Trim(new char[] { '/' }); | 226 | inventoryURL = inventoryURL.Trim(new char[] { '/' }); |
227 | m_InventoryURLs.Add(userID, inventoryURL); | ||
228 | m_log.DebugFormat("[HG INVENTORY CONNECTOR]: Added {0} to the cache of inventory URLs", inventoryURL); | ||
224 | } | 229 | } |
230 | |||
225 | } | 231 | } |
232 | |||
226 | } | 233 | } |
227 | } | 234 | } |
228 | 235 | ||