aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-13 00:48:36 +0100
committerJustin Clark-Casey (justincc)2011-07-13 00:48:36 +0100
commit08dc07dc7691ce8ee3c81528bb45b9fdfc603a68 (patch)
tree7458d9516faed0db2cd498cd751eb8aa4bdfa0ce /OpenSim/Services/HypergridService
parentAdd experimental module to check status of services that the simulator is con... (diff)
downloadopensim-SC_OLD-08dc07dc7691ce8ee3c81528bb45b9fdfc603a68.zip
opensim-SC_OLD-08dc07dc7691ce8ee3c81528bb45b9fdfc603a68.tar.gz
opensim-SC_OLD-08dc07dc7691ce8ee3c81528bb45b9fdfc603a68.tar.bz2
opensim-SC_OLD-08dc07dc7691ce8ee3c81528bb45b9fdfc603a68.tar.xz
refactor: Move all callers of the obsoleted SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r--OpenSim/Services/HypergridService/HGInstantMessageService.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Services/HypergridService/HGInstantMessageService.cs b/OpenSim/Services/HypergridService/HGInstantMessageService.cs
index ded589d..bb31fc9 100644
--- a/OpenSim/Services/HypergridService/HGInstantMessageService.cs
+++ b/OpenSim/Services/HypergridService/HGInstantMessageService.cs
@@ -326,7 +326,6 @@ namespace OpenSim.Services.HypergridService
326 // This is recursive!!!!! 326 // This is recursive!!!!!
327 return TrySendInstantMessage(im, url, false, foreigner); 327 return TrySendInstantMessage(im, url, false, foreigner);
328 } 328 }
329
330 } 329 }
331 330
332 private bool UndeliveredMessage(GridInstantMessage im) 331 private bool UndeliveredMessage(GridInstantMessage im)
@@ -335,15 +334,14 @@ namespace OpenSim.Services.HypergridService
335 && (!im.fromGroup || (im.fromGroup && m_ForwardOfflineGroupMessages))) 334 && (!im.fromGroup || (im.fromGroup && m_ForwardOfflineGroupMessages)))
336 { 335 {
337 m_log.DebugFormat("[HG IM SERVICE]: Message saved"); 336 m_log.DebugFormat("[HG IM SERVICE]: Message saved");
338 return SynchronousRestObjectPoster.BeginPostObject<GridInstantMessage, bool>(
339 "POST", m_RestURL + "/SaveMessage/", im);
340 337
338 return SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>(
339 "POST", m_RestURL + "/SaveMessage/", im);
341 } 340 }
342
343 else 341 else
344 { 342 {
345 return false; 343 return false;
346 } 344 }
347 } 345 }
348 } 346 }
349} 347} \ No newline at end of file