Fix build break

This commit is contained in:
Melanie
2019-10-06 23:57:47 +01:00
parent eb55f7f2bc
commit be34b8e79d
4 changed files with 13 additions and 4 deletions

View File

@@ -73,6 +73,7 @@ namespace OpenSim.Services.HypergridService
private static Uri m_Uri;
private static GridRegion m_DefaultGatewayRegion;
private bool m_allowDuplicatePresences = false;
private static string m_messageKey;
public GatekeeperService(IConfigSource config, ISimulationService simService)
{
@@ -154,6 +155,9 @@ namespace OpenSim.Services.HypergridService
m_allowDuplicatePresences = presenceConfig.GetBoolean("AllowDuplicatePresences", m_allowDuplicatePresences);
}
IConfig messagingConfig = config.Configs["Messaging"];
if (messagingConfig != null)
m_messageKey = messagingConfig.GetString("MessageKey", String.Empty);
m_log.Debug("[GATEKEEPER SERVICE]: Starting...");
}
}
@@ -651,7 +655,7 @@ namespace OpenSim.Services.HypergridService
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);