|
@@ -92,6 +92,7 @@ namespace OpenSim.Services.LLLoginService
|
|
|
protected string m_MessageUrl;
|
|
|
protected string m_DSTZone;
|
|
|
protected bool m_allowDuplicatePresences = false;
|
|
|
+ protected string m_messageKey;
|
|
|
|
|
|
IConfig m_LoginServerConfig;
|
|
|
// IConfig m_ClientsConfig;
|
|
@@ -159,6 +160,9 @@ namespace OpenSim.Services.LLLoginService
|
|
|
m_MapTileURL = m_MapTileURL + "/";
|
|
|
}
|
|
|
|
|
|
+ IConfig messagingConfig = config.Configs["Messaging"];
|
|
|
+ if (messagingConfig != null)
|
|
|
+ m_messageKey = messagingConfig.GetString("MessageKey", String.Empty);
|
|
|
// These are required; the others aren't
|
|
|
if (accountService == string.Empty || authService == string.Empty)
|
|
|
throw new Exception("LoginService is missing service specifications");
|
|
@@ -1170,7 +1174,7 @@ namespace OpenSim.Services.LLLoginService
|
|
|
msg.Position = Vector3.Zero;
|
|
|
msg.RegionID = scopeID.Guid;
|
|
|
msg.binaryBucket = new byte[1] {0};
|
|
|
- InstantMessageServiceConnector.SendInstantMessage(regURL,msg);
|
|
|
+ InstantMessageServiceConnector.SendInstantMessage(regURL,msg, m_messageKey);
|
|
|
|
|
|
m_GridUserService.LoggedOut(agentID.ToString(),
|
|
|
UUID.Zero, guinfo.LastRegionID, guinfo.LastPosition, guinfo.LastLookAt);
|