Change user message on TeskInventoryAccepted to let the viewer format it

properly
integration
Melanie 2012-11-05 00:05:01 +00:00
parent 89322aaf94
commit 236cc1f268
1 changed files with 5 additions and 5 deletions

View File

@ -3963,17 +3963,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (m_TransferModule != null)
{
byte[] bucket = new byte[] { (byte)item.Type };
byte[] bucket = new byte[1];
bucket[0] = (byte)item.Type;
GridInstantMessage msg = new GridInstantMessage(World,
m_host.UUID, m_host.Name + ", an object owned by " +
resolveName(m_host.OwnerID) + ",", destId,
m_host.OwnerID, m_host.Name, destId,
(byte)InstantMessageDialog.TaskInventoryOffered,
false, item.Name + "\n" + m_host.Name + " is located at " +
false, item.Name+". "+m_host.Name+" is located at "+
World.RegionInfo.RegionName+" "+
m_host.AbsolutePosition.ToString(),
agentItem.ID, true, m_host.AbsolutePosition,
bucket, true); // TODO: May actually send no timestamp
bucket, true);
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
}