diff options
author | Adam Frisby | 2007-07-08 03:45:06 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-08 03:45:06 +0000 |
commit | 74410efb22046688f0b3abe84ef4fdda8b166da6 (patch) | |
tree | 3df859c5af055f6b1009c44338e126b78e70f88a | |
parent | * Missed a line - IM support in local simulator should now work. (diff) | |
download | opensim-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.
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 14 |
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 | { |