Send the creation-date of items to the viewer. This fixes Mantis#2769.

0.6.1-post-fixes
Homer Horwitz 2008-12-06 22:51:41 +00:00
parent 5746f42951
commit 6ab09bc139
2 changed files with 3 additions and 3 deletions

View File

@ -397,7 +397,7 @@ namespace OpenSim.Framework.Communications.Capabilities
{
LLSDInventoryItem llsdItem = new LLSDInventoryItem();
llsdItem.asset_id = invItem.AssetID;
llsdItem.created_at = 1000;
llsdItem.created_at = invItem.CreationDate;
llsdItem.desc = invItem.Description;
llsdItem.flags = 0;
llsdItem.item_id = invItem.ID;

View File

@ -1734,8 +1734,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
inventoryReply.InventoryData[0].AssetID = item.AssetID;
inventoryReply.InventoryData[0].CreatorID = item.Creator;
inventoryReply.InventoryData[0].BaseMask = item.BasePermissions;
inventoryReply.InventoryData[0].CreationDate =
(int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
inventoryReply.InventoryData[0].CreationDate = item.CreationDate;
inventoryReply.InventoryData[0].Description = Utils.StringToBytes(item.Description);
inventoryReply.InventoryData[0].EveryoneMask = item.EveryOnePermissions;
inventoryReply.InventoryData[0].FolderID = item.Folder;