From 7cf2d261b3063960d6a17cd43494712144972033 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 24 Nov 2015 12:51:58 +0000 Subject: [PATCH] reduce 'echos' on several regions per instance (mantis 7754) --- OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index fd6202a352..ff2527e417 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs @@ -294,7 +294,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat s.ForEachScenePresence( delegate(ScenePresence presence) { - if (destination != UUID.Zero && presence.UUID != destination) + if (destination != UUID.Zero && + (presence.UUID != destination || receiverIDs.Contains(presence.UUID))) return; ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y); if (Presencecheck != null)