diff options
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 18 |
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 | } |