diff options
Diffstat (limited to 'OpenSim/Services/HypergridService/HGInstantMessageService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/HGInstantMessageService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/HGInstantMessageService.cs b/OpenSim/Services/HypergridService/HGInstantMessageService.cs index 09c5354..4d628e0 100644 --- a/OpenSim/Services/HypergridService/HGInstantMessageService.cs +++ b/OpenSim/Services/HypergridService/HGInstantMessageService.cs | |||
@@ -70,6 +70,7 @@ namespace OpenSim.Services.HypergridService | |||
70 | 70 | ||
71 | private static bool m_ForwardOfflineGroupMessages; | 71 | private static bool m_ForwardOfflineGroupMessages; |
72 | private static bool m_InGatekeeper; | 72 | private static bool m_InGatekeeper; |
73 | private string m_messageKey; | ||
73 | 74 | ||
74 | public HGInstantMessageService(IConfigSource config) | 75 | public HGInstantMessageService(IConfigSource config) |
75 | : this(config, null) | 76 | : this(config, null) |
@@ -322,7 +323,7 @@ namespace OpenSim.Services.HypergridService | |||
322 | 323 | ||
323 | bool ForwardIMToGrid(string url, GridInstantMessage im, UUID toAgentID, bool foreigner) | 324 | bool ForwardIMToGrid(string url, GridInstantMessage im, UUID toAgentID, bool foreigner) |
324 | { | 325 | { |
325 | if (InstantMessageServiceConnector.SendInstantMessage(url, im)) | 326 | if (InstantMessageServiceConnector.SendInstantMessage(url, im, m_messageKey)) |
326 | { | 327 | { |
327 | // IM delivery successful, so store the Agent's location in our local cache. | 328 | // IM delivery successful, so store the Agent's location in our local cache. |
328 | lock (m_UserLocationMap) | 329 | lock (m_UserLocationMap) |