aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorMelanie Thielker2009-02-26 20:11:55 +0000
committerMelanie Thielker2009-02-26 20:11:55 +0000
commited2de7ac821544751280b1310a49c2f4ba70b4c3 (patch)
treea8c72b7b3574512f51e799fdfcd131505b3c5dc3 /OpenSim/Region/ClientStack
parentChanged the type of the ApplicationRegistry member from RegistryCore to IRegi... (diff)
downloadopensim-SC_OLD-ed2de7ac821544751280b1310a49c2f4ba70b4c3.zip
opensim-SC_OLD-ed2de7ac821544751280b1310a49c2f4ba70b4c3.tar.gz
opensim-SC_OLD-ed2de7ac821544751280b1310a49c2f4ba70b4c3.tar.bz2
opensim-SC_OLD-ed2de7ac821544751280b1310a49c2f4ba70b4c3.tar.xz
Plumb in the RetrieveInstantMessages event that is sent by the viewer
when it is ready to receive offline IM
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs10
1 files changed, 10 insertions, 0 deletions
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
292 private UserInfoRequest handlerUserInfoRequest; 292 private UserInfoRequest handlerUserInfoRequest;
293 private UpdateUserInfo handlerUpdateUserInfo; 293 private UpdateUserInfo handlerUpdateUserInfo;
294 294
295 private RetrieveInstantMessages handlerRetrieveInstantMessages;
296
295 private readonly IGroupsModule m_GroupsModule; 297 private readonly IGroupsModule m_GroupsModule;
296 298
297 //private TerrainUnacked handlerUnackedTerrain = null; 299 //private TerrainUnacked handlerUnackedTerrain = null;
@@ -1075,6 +1077,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1075 public event UserInfoRequest OnUserInfoRequest; 1077 public event UserInfoRequest OnUserInfoRequest;
1076 public event UpdateUserInfo OnUpdateUserInfo; 1078 public event UpdateUserInfo OnUpdateUserInfo;
1077 1079
1080 public event RetrieveInstantMessages OnRetrieveInstantMessages;
1081
1078 public void ActivateGesture(UUID assetId, UUID gestureId) 1082 public void ActivateGesture(UUID assetId, UUID gestureId)
1079 { 1083 {
1080 } 1084 }
@@ -7433,6 +7437,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
7433 eventNotificationRemove.EventData.EventID, this); 7437 eventNotificationRemove.EventData.EventID, this);
7434 break; 7438 break;
7435 7439
7440 case PacketType.RetrieveInstantMessages:
7441 handlerRetrieveInstantMessages = OnRetrieveInstantMessages;
7442 if (handlerRetrieveInstantMessages != null)
7443 handlerRetrieveInstantMessages(this);
7444 break;
7445
7436 default: 7446 default:
7437 m_log.Warn("[CLIENT]: unhandled packet " + Pack); 7447 m_log.Warn("[CLIENT]: unhandled packet " + Pack);
7438 break; 7448 break;