* Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance.

This commit is contained in:
Teravus Ovares
2007-12-30 04:12:08 +00:00
parent 3e8df2b868
commit 14368d9a73
3 changed files with 21 additions and 18 deletions

View File

@@ -63,7 +63,9 @@ namespace OpenSim.Region.Environment.Modules
private void OnInstantMessage(LLUUID fromAgentID,
LLUUID fromAgentSession, LLUUID toAgentID,
LLUUID imSessionID, uint timestamp, string fromAgentName,
string message, byte dialog)
string message, byte dialog, bool fromGroup, byte offline,
uint ParentEstateID, LLVector3 Position, LLUUID RegionID,
byte[] binaryBucket)
{
foreach (Scene scene in m_scenes)
{
@@ -76,9 +78,9 @@ namespace OpenSim.Region.Environment.Modules
user.ControllingClient.SendInstantMessage(fromAgentID, fromAgentSession, message,
toAgentID, imSessionID, fromAgentName, dialog,
timestamp);
// Message sent
return;
}
// Message sent
return;
}
}
@@ -104,4 +106,4 @@ namespace OpenSim.Region.Environment.Modules
get { return true; }
}
}
}
}