aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorAdam Frisby2007-07-08 03:45:06 +0000
committerAdam Frisby2007-07-08 03:45:06 +0000
commit74410efb22046688f0b3abe84ef4fdda8b166da6 (patch)
tree3df859c5af055f6b1009c44338e126b78e70f88a /OpenSim/Region/Environment/Scenes
parent* Missed a line - IM support in local simulator should now work. (diff)
downloadopensim-SC-74410efb22046688f0b3abe84ef4fdda8b166da6.zip
opensim-SC-74410efb22046688f0b3abe84ef4fdda8b166da6.tar.gz
opensim-SC-74410efb22046688f0b3abe84ef4fdda8b166da6.tar.bz2
opensim-SC-74410efb22046688f0b3abe84ef4fdda8b166da6.tar.xz
* Bugfix with instant message handlers. Looking at implementing grid IM server, ideally using a known scalable infrastructure.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs14
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 4cb0bec..e078348 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -110,10 +110,16 @@ namespace OpenSim.Region.Environment.Scenes
110 { 110 {
111 if (this.Avatars.ContainsKey(toAgentID)) 111 if (this.Avatars.ContainsKey(toAgentID))
112 { 112 {
113 // Local sim message 113 if (this.Avatars.ContainsKey(fromAgentID))
114 ScenePresence avatar = this.Avatars[toAgentID]; 114 {
115 115 // Local sim message
116 avatar.ControllingClient.SendInstantMessage(message, toAgentID); 116 ScenePresence avatar = this.Avatars[fromAgentID];
117 avatar.ControllingClient.SendInstantMessage(message, toAgentID);
118 }
119 else
120 {
121 // Message came from a user outside the sim, ignore?
122 }
117 } 123 }
118 else 124 else
119 { 125 {