aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs
index 9412735..5f9f518 100644
--- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs
@@ -204,6 +204,13 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
204 if ((im.offline != 0) 204 if ((im.offline != 0)
205 && (!im.fromGroup || (im.fromGroup && m_ForwardOfflineGroupMessages))) 205 && (!im.fromGroup || (im.fromGroup && m_ForwardOfflineGroupMessages)))
206 { 206 {
207 // It's not delivered. Make sure the scope id is saved
208 // We don't need the imSessionID here anymore, overwrite it
209 Scene scene = FindScene(new UUID(im.fromAgentID));
210 if (scene == null)
211 scene = m_SceneList[0];
212 im.imSessionID = new Guid(scene.RegionInfo.ScopeID.ToString());
213
207 bool success = SynchronousRestObjectPoster.BeginPostObject<GridInstantMessage, bool>( 214 bool success = SynchronousRestObjectPoster.BeginPostObject<GridInstantMessage, bool>(
208 "POST", m_RestURL+"/SaveMessage/", im); 215 "POST", m_RestURL+"/SaveMessage/", im);
209 216