aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-30 04:12:08 +0000
committerTeravus Ovares2007-12-30 04:12:08 +0000
commit14368d9a732d4e8f6508aec07a3c3c51e3e9f33e (patch)
tree5da643346e901222f8859baa861822acb056004e /OpenSim/Region/ClientStack/ClientView.cs
parent* Extracted out old RezObject method placing at absolute pos without the rayt... (diff)
downloadopensim-SC_OLD-14368d9a732d4e8f6508aec07a3c3c51e3e9f33e.zip
opensim-SC_OLD-14368d9a732d4e8f6508aec07a3c3c51e3e9f33e.tar.gz
opensim-SC_OLD-14368d9a732d4e8f6508aec07a3c3c51e3e9f33e.tar.bz2
opensim-SC_OLD-14368d9a732d4e8f6508aec07a3c3c51e3e9f33e.tar.xz
* Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 0d3c07e..932414d 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -2540,12 +2540,23 @@ namespace OpenSim.Region.ClientStack
2540 ImprovedInstantMessagePacket msgpack = (ImprovedInstantMessagePacket) Pack; 2540 ImprovedInstantMessagePacket msgpack = (ImprovedInstantMessagePacket) Pack;
2541 string IMfromName = Util.FieldToString(msgpack.MessageBlock.FromAgentName); 2541 string IMfromName = Util.FieldToString(msgpack.MessageBlock.FromAgentName);
2542 string IMmessage = Helpers.FieldToUTF8String(msgpack.MessageBlock.Message); 2542 string IMmessage = Helpers.FieldToUTF8String(msgpack.MessageBlock.Message);
2543 //byte[] msgpack.MessageBlock.BinaryBucket;
2544 //bool msgpack.MessageBlock.FromGroup;
2545
2546 //byte msgpack.MessageBlock.Offline;
2547 //uint msgpack.MessageBlock.ParentEstateID;
2548 //LLVector3 msgpack.MessageBlock.Position;
2549 //LLUUID msgpack.MessageBlock.RegionID;
2550
2543 if (OnInstantMessage != null) 2551 if (OnInstantMessage != null)
2544 { 2552 {
2545 OnInstantMessage(msgpack.AgentData.AgentID, msgpack.AgentData.SessionID, 2553 OnInstantMessage(msgpack.AgentData.AgentID, msgpack.AgentData.SessionID,
2546 msgpack.MessageBlock.ToAgentID, msgpack.MessageBlock.ID, 2554 msgpack.MessageBlock.ToAgentID, msgpack.MessageBlock.ID,
2547 msgpack.MessageBlock.Timestamp, IMfromName, IMmessage, 2555 msgpack.MessageBlock.Timestamp, IMfromName, IMmessage,
2548 msgpack.MessageBlock.Dialog); 2556 msgpack.MessageBlock.Dialog, msgpack.MessageBlock.FromGroup,
2557 msgpack.MessageBlock.Offline, msgpack.MessageBlock.ParentEstateID,
2558 msgpack.MessageBlock.Position, msgpack.MessageBlock.RegionID,
2559 msgpack.MessageBlock.BinaryBucket);
2549 } 2560 }
2550 break; 2561 break;
2551 case PacketType.RezObject: 2562 case PacketType.RezObject: