diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs index e3d4969..b4f69e6 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs | |||
@@ -278,7 +278,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer | |||
278 | else | 278 | else |
279 | { | 279 | { |
280 | if (m_TransferModule != null) | 280 | if (m_TransferModule != null) |
281 | m_TransferModule.SendInstantMessage(im, delegate(bool success) {}); | 281 | m_TransferModule.SendInstantMessage(im, delegate(bool success) { |
282 | // Send BulkUpdateInventory | ||
283 | IInventoryService invService = scene.InventoryService; | ||
284 | UUID inventoryEntityID = new UUID(im.imSessionID); // The inventory item /folder, back from it's trip | ||
285 | |||
286 | InventoryFolderBase folder = new InventoryFolderBase(inventoryEntityID, client.AgentId); | ||
287 | folder = invService.GetFolder(folder); | ||
288 | |||
289 | ScenePresence fromUser = scene.GetScenePresence(new UUID(im.fromAgentID)); | ||
290 | |||
291 | fromUser.ControllingClient.SendBulkUpdateInventory(folder); | ||
292 | }); | ||
282 | } | 293 | } |
283 | } | 294 | } |
284 | else if (im.dialog == (byte) InstantMessageDialog.InventoryDeclined) | 295 | else if (im.dialog == (byte) InstantMessageDialog.InventoryDeclined) |