Fix the inventory transfer module to not cause duplicated text IMs

avinationmerge
Melanie 2010-11-05 15:24:08 +01:00
parent 7844872067
commit 4db60a5a40
1 changed files with 6 additions and 3 deletions

View File

@ -473,10 +473,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
user.ControllingClient.SendBulkUpdateInventory(item); user.ControllingClient.SendBulkUpdateInventory(item);
} }
} }
user.ControllingClient.SendInstantMessage(im);
} }
else if (im.dialog == (byte) InstantMessageDialog.InventoryAccepted ||
// Just forward to the client im.dialog == (byte) InstantMessageDialog.InventoryDeclined)
{
user.ControllingClient.SendInstantMessage(im); user.ControllingClient.SendInstantMessage(im);
} }
} }
}
} }