Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
This commit is contained in:
Melanie Thielker
2008-09-13 16:34:29 +00:00
parent dccdeb57bb
commit 99f1e1d107

View File

@@ -2322,7 +2322,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
//m_pendingFriendRequests.Add(friendTransactionID, fromAgentID);
GridInstantMessage msg = new GridInstantMessage();
msg.fromAgentID = new Guid(m_host.ToString()); // fromAgentID.Guid;
msg.fromAgentID = new Guid(m_host.UUID.ToString()); // fromAgentID.Guid;
msg.fromAgentSession = new Guid(friendTransactionID.ToString());// fromAgentSession.UUID;
msg.toAgentID = new Guid(user); // toAgentID.Guid;
msg.imSessionID = new Guid(friendTransactionID.ToString()); // This is the item we're mucking with here