From 27e557eb9857ccc34ae3588c4e0ff43bd5e6644a Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 16 Nov 2008 00:47:21 +0000 Subject: Introduces the message transfer module. It splits the transfer mechanics off the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598) --- OpenSim/Region/Environment/Scenes/Scene.cs | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 08b7bdb..7485134 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -993,7 +993,8 @@ namespace OpenSim.Region.Environment.Scenes else msg.message = string.Format("Your object {0} was returned from {1} in region {2} due to parcel auto return", ret.Value.objectName, ret.Value.location.ToString(), RegionInfo.RegionName); - TriggerGridInstantMessage(msg, InstantMessageReceiver.IMModule); +// TODO: Send IM +// TriggerGridInstantMessage(msg); } } @@ -3304,21 +3305,6 @@ namespace OpenSim.Region.Environment.Scenes return UUID.Zero; } - /// - /// This method is a way for the Friends Module to create an instant - /// message to the avatar and for Instant Messages that travel across - /// gridcomms to make it to the Instant Message Module. - /// - /// Friendship establishment and groups are unfortunately tied with instant messaging and - /// there's no way to separate them completely. - /// - /// object containing the instant message data - /// void - public void TriggerGridInstantMessage(GridInstantMessage message, InstantMessageReceiver options) - { - m_eventManager.TriggerGridInstantMessage(message, options); - } - public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) { // TODO: m_sceneGridService.DoStuff; -- cgit v1.1