Eliminate subsequently unused scene finding in UndeliveredMessage() method of xmlrpc and core offline IM modules
parent
19d8f05584
commit
8457044b2f
|
@ -226,10 +226,6 @@ namespace OpenSim.OfflineIM
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Scene scene = FindScene(new UUID(im.fromAgentID));
|
|
||||||
if (scene == null)
|
|
||||||
scene = m_SceneList[0];
|
|
||||||
|
|
||||||
string reason = string.Empty;
|
string reason = string.Empty;
|
||||||
bool success = m_OfflineIMService.StoreMessage(im, out reason);
|
bool success = m_OfflineIMService.StoreMessage(im, out reason);
|
||||||
|
|
||||||
|
|
|
@ -226,10 +226,6 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Scene scene = FindScene(new UUID(im.fromAgentID));
|
|
||||||
if (scene == null)
|
|
||||||
scene = m_SceneList[0];
|
|
||||||
|
|
||||||
bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>(
|
bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>(
|
||||||
"POST", m_RestURL+"/SaveMessage/", im);
|
"POST", m_RestURL+"/SaveMessage/", im);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue