From be34b8e79de25d5d30f2c22d2657cbe965693540 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 6 Oct 2019 23:57:47 +0100 Subject: Fix build break --- OpenSim/Services/LLLoginService/LLLoginService.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs') diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 22cdff5..9b8ea37 100755 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs @@ -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); -- cgit v1.1