Change user message on TeskInventoryAccepted to let the viewer format it
properlyintegration
parent
89322aaf94
commit
236cc1f268
|
@ -3963,17 +3963,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
if (m_TransferModule != null)
|
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,
|
GridInstantMessage msg = new GridInstantMessage(World,
|
||||||
m_host.UUID, m_host.Name + ", an object owned by " +
|
m_host.OwnerID, m_host.Name, destId,
|
||||||
resolveName(m_host.OwnerID) + ",", destId,
|
|
||||||
(byte)InstantMessageDialog.TaskInventoryOffered,
|
(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+" "+
|
World.RegionInfo.RegionName+" "+
|
||||||
m_host.AbsolutePosition.ToString(),
|
m_host.AbsolutePosition.ToString(),
|
||||||
agentItem.ID, true, m_host.AbsolutePosition,
|
agentItem.ID, true, m_host.AbsolutePosition,
|
||||||
bucket, true); // TODO: May actually send no timestamp
|
bucket, true);
|
||||||
|
|
||||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue