From ed2de7ac821544751280b1310a49c2f4ba70b4c3 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 26 Feb 2009 20:11:55 +0000 Subject: Plumb in the RetrieveInstantMessages event that is sent by the viewer when it is ready to receive offline IM --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 02e6b82..935f804 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -292,6 +292,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private UserInfoRequest handlerUserInfoRequest; private UpdateUserInfo handlerUpdateUserInfo; + private RetrieveInstantMessages handlerRetrieveInstantMessages; + private readonly IGroupsModule m_GroupsModule; //private TerrainUnacked handlerUnackedTerrain = null; @@ -1075,6 +1077,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP public event UserInfoRequest OnUserInfoRequest; public event UpdateUserInfo OnUpdateUserInfo; + public event RetrieveInstantMessages OnRetrieveInstantMessages; + public void ActivateGesture(UUID assetId, UUID gestureId) { } @@ -7433,6 +7437,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP eventNotificationRemove.EventData.EventID, this); break; + case PacketType.RetrieveInstantMessages: + handlerRetrieveInstantMessages = OnRetrieveInstantMessages; + if (handlerRetrieveInstantMessages != null) + handlerRetrieveInstantMessages(this); + break; + default: m_log.Warn("[CLIENT]: unhandled packet " + Pack); break; -- cgit v1.1