* Bugfix with instant message handlers. Looking at implementing grid IM server, ideally using a known scalable infrastructure.
parent
855ebe739b
commit
74410efb22
|
@ -110,10 +110,16 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
if (this.Avatars.ContainsKey(toAgentID))
|
if (this.Avatars.ContainsKey(toAgentID))
|
||||||
{
|
{
|
||||||
// Local sim message
|
if (this.Avatars.ContainsKey(fromAgentID))
|
||||||
ScenePresence avatar = this.Avatars[toAgentID];
|
{
|
||||||
|
// Local sim message
|
||||||
avatar.ControllingClient.SendInstantMessage(message, toAgentID);
|
ScenePresence avatar = this.Avatars[fromAgentID];
|
||||||
|
avatar.ControllingClient.SendInstantMessage(message, toAgentID);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Message came from a user outside the sim, ignore?
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue