diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | 7 |
2 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index 94a856b..4ba11ac 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |||
@@ -647,5 +647,12 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
647 | return gim; | 647 | return gim; |
648 | } | 648 | } |
649 | 649 | ||
650 | public void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn) | ||
651 | { | ||
652 | } | ||
653 | |||
654 | public void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn) | ||
655 | { | ||
656 | } | ||
650 | } | 657 | } |
651 | } | 658 | } |
diff --git a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs index 40c224d..51ac37c 100644 --- a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | |||
@@ -25,14 +25,19 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
28 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
29 | 30 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 32 | { |
32 | public delegate void MessageResultNotification(bool success); | 33 | public delegate void MessageResultNotification(bool success); |
33 | 34 | public delegate bool MessageFilterDelegate(GridInstantMessage im); | |
35 | |||
34 | public interface IMessageTransferModule | 36 | public interface IMessageTransferModule |
35 | { | 37 | { |
36 | void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); | 38 | void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); |
39 | |||
40 | void RegisterMessageFilter(Byte dialog, bool always, MessageFilterDelegate fn); | ||
41 | void DeregisterMessageFilter(Byte dialog, MessageFilterDelegate fn); | ||
37 | } | 42 | } |
38 | } | 43 | } |