diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs index ae58dfd..f122d00 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs | |||
@@ -213,7 +213,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer | |||
213 | user.ControllingClient.SendBulkUpdateInventory(folderCopy); | 213 | user.ControllingClient.SendBulkUpdateInventory(folderCopy); |
214 | 214 | ||
215 | // HACK!! | 215 | // HACK!! |
216 | im.imSessionID = folderID.Guid; | 216 | // Insert the ID of the copied item into the IM so that we know which item to move to trash if it |
217 | // is rejected. | ||
218 | // XXX: This is probably a misuse of the session ID slot. | ||
219 | im.imSessionID = copyID.Guid; | ||
217 | } | 220 | } |
218 | else | 221 | else |
219 | { | 222 | { |
@@ -243,7 +246,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer | |||
243 | user.ControllingClient.SendBulkUpdateInventory(itemCopy); | 246 | user.ControllingClient.SendBulkUpdateInventory(itemCopy); |
244 | 247 | ||
245 | // HACK!! | 248 | // HACK!! |
246 | im.imSessionID = itemID.Guid; | 249 | // Insert the ID of the copied item into the IM so that we know which item to move to trash if it |
250 | // is rejected. | ||
251 | // XXX: This is probably a misuse of the session ID slot. | ||
252 | im.imSessionID = copyID.Guid; | ||
247 | } | 253 | } |
248 | 254 | ||
249 | im.offline = 0; | 255 | im.offline = 0; |