Send the creation-date of items to the viewer. This fixes Mantis#2769.
parent
5746f42951
commit
6ab09bc139
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue