diff options
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index f681df4..6a5007f 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -334,6 +334,7 @@ namespace OpenSim.Services.HypergridService | |||
334 | return false; | 334 | return false; |
335 | } | 335 | } |
336 | 336 | ||
337 | [Obsolete] | ||
337 | public List<UUID> StatusNotification(List<string> friends, UUID foreignUserID, bool online) | 338 | public List<UUID> StatusNotification(List<string> friends, UUID foreignUserID, bool online) |
338 | { | 339 | { |
339 | if (m_FriendsService == null || m_PresenceService == null) | 340 | if (m_FriendsService == null || m_PresenceService == null) |
@@ -414,6 +415,7 @@ namespace OpenSim.Services.HypergridService | |||
414 | return new List<UUID>(); | 415 | return new List<UUID>(); |
415 | } | 416 | } |
416 | 417 | ||
418 | [Obsolete] | ||
417 | protected void ForwardStatusNotificationToSim(UUID regionID, UUID foreignUserID, string user, bool online) | 419 | protected void ForwardStatusNotificationToSim(UUID regionID, UUID foreignUserID, string user, bool online) |
418 | { | 420 | { |
419 | UUID userID; | 421 | UUID userID; |
@@ -566,6 +568,16 @@ namespace OpenSim.Services.HypergridService | |||
566 | 568 | ||
567 | return string.Empty; | 569 | return string.Empty; |
568 | } | 570 | } |
571 | |||
572 | public UUID GetUUID(String first, String last) | ||
573 | { | ||
574 | // Let's see if it's a local user | ||
575 | UserAccount account = m_UserAccountService.GetUserAccount(UUID.Zero, first, last); | ||
576 | if (account != null) | ||
577 | return account.PrincipalID; | ||
578 | else | ||
579 | return UUID.Zero; | ||
580 | } | ||
569 | } | 581 | } |
570 | 582 | ||
571 | class TravelingAgentInfo | 583 | class TravelingAgentInfo |