aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/Main.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-23 06:44:43 +0000
committerMelanie Thielker2008-11-23 06:44:43 +0000
commited300f21f0256e4990a91fec79927b723223fa98 (patch)
tree392abaa1b95eaf07b1129c275060028c821c3279 /OpenSim/Grid/UserServer/Main.cs
parentPlumb in the presence notifications and region shutdown/restart messages (diff)
downloadopensim-SC_OLD-ed300f21f0256e4990a91fec79927b723223fa98.zip
opensim-SC_OLD-ed300f21f0256e4990a91fec79927b723223fa98.tar.gz
opensim-SC_OLD-ed300f21f0256e4990a91fec79927b723223fa98.tar.bz2
opensim-SC_OLD-ed300f21f0256e4990a91fec79927b723223fa98.tar.xz
05:24:49 - [PRESENCE]: Logging off 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb because the region they were in has gone
Or, in other words, a region crash/restart no longer messes up presence.
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index f894ca0..4e397aa 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -464,12 +464,30 @@ namespace OpenSim.Grid.UserServer
464 464
465 public void HandleRegionStartup(UUID regionID) 465 public void HandleRegionStartup(UUID regionID)
466 { 466 {
467 // This might seem strange, that we send this back to the
468 // server it came from. But there is method to the madness.
469 // There can be multiple user servers on the same database,
470 // and each can have multiple messaging servers. So, we send
471 // it to all known user servers, who send it to all known
472 // message servers. That way, we should be able to finally
473 // update presence to all regions and thereby all friends
474 //
467 m_userManager.HandleRegionStartup(regionID); 475 m_userManager.HandleRegionStartup(regionID);
476 m_messagesService.TellMessageServersAboutRegionShutdown(regionID);
468 } 477 }
469 478
470 public void HandleRegionShutdown(UUID regionID) 479 public void HandleRegionShutdown(UUID regionID)
471 { 480 {
481 // This might seem strange, that we send this back to the
482 // server it came from. But there is method to the madness.
483 // There can be multiple user servers on the same database,
484 // and each can have multiple messaging servers. So, we send
485 // it to all known user servers, who send it to all known
486 // message servers. That way, we should be able to finally
487 // update presence to all regions and thereby all friends
488 //
472 m_userManager.HandleRegionShutdown(regionID); 489 m_userManager.HandleRegionShutdown(regionID);
490 m_messagesService.TellMessageServersAboutRegionShutdown(regionID);
473 } 491 }
474 } 492 }
475} 493}