aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 7521ea6..83f8e1b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3528,14 +3528,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3528 3528
3529 // TODO: figure out values for client, fromSession, and imSessionID 3529 // TODO: figure out values for client, fromSession, and imSessionID
3530 // client.SendInstantMessage(m_host.UUID, fromSession, message, user, imSessionID, m_host.Name, AgentManager.InstantMessageDialog.MessageFromAgent, (uint)Util.UnixTimeSinceEpoch()); 3530 // client.SendInstantMessage(m_host.UUID, fromSession, message, user, imSessionID, m_host.Name, AgentManager.InstantMessageDialog.MessageFromAgent, (uint)Util.UnixTimeSinceEpoch());
3531 UUID friendTransactionID = UUID.Random();
3532
3533 //m_pendingFriendRequests.Add(friendTransactionID, fromAgentID);
3534 3531
3535 GridInstantMessage msg = new GridInstantMessage(); 3532 GridInstantMessage msg = new GridInstantMessage();
3536 msg.fromAgentID = new Guid(m_host.UUID.ToString()); // fromAgentID.Guid; 3533 msg.fromAgentID = new Guid(m_host.OwnerID.ToString()); // fromAgentID.Guid;
3537 msg.toAgentID = new Guid(user); // toAgentID.Guid; 3534 msg.toAgentID = new Guid(user); // toAgentID.Guid;
3538 msg.imSessionID = new Guid(friendTransactionID.ToString()); // This is the item we're mucking with here 3535 msg.imSessionID = new Guid(m_host.UUID.ToString()); // This is the item we're mucking with here
3539// m_log.Debug("[Scripting IM]: From:" + msg.fromAgentID.ToString() + " To: " + msg.toAgentID.ToString() + " Session:" + msg.imSessionID.ToString() + " Message:" + message); 3536// m_log.Debug("[Scripting IM]: From:" + msg.fromAgentID.ToString() + " To: " + msg.toAgentID.ToString() + " Session:" + msg.imSessionID.ToString() + " Message:" + message);
3540// m_log.Debug("[Scripting IM]: Filling Session: " + msg.imSessionID.ToString()); 3537// m_log.Debug("[Scripting IM]: Filling Session: " + msg.imSessionID.ToString());
3541 msg.timestamp = (uint)Util.UnixTimeSinceEpoch();// timestamp; 3538 msg.timestamp = (uint)Util.UnixTimeSinceEpoch();// timestamp;