diff options
author | Diva Canto | 2011-05-25 12:32:21 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-25 12:32:21 -0700 |
commit | 5c2168cae758ae19367f4c2f5a02713e74fc0912 (patch) | |
tree | 7d189c03a177ca716c91cf903cc7fd2e91fed1dc /OpenSim/Services/HypergridService/UserAgentService.cs | |
parent | Added necessary code to drop inventory on hg friends using the profile window... (diff) | |
download | opensim-SC-5c2168cae758ae19367f4c2f5a02713e74fc0912.zip opensim-SC-5c2168cae758ae19367f4c2f5a02713e74fc0912.tar.gz opensim-SC-5c2168cae758ae19367f4c2f5a02713e74fc0912.tar.bz2 opensim-SC-5c2168cae758ae19367f4c2f5a02713e74fc0912.tar.xz |
HG: Instant Message working. Tested on HG standalones only. Needs a lot more testing.
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index e63f941..59ad043 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -474,6 +474,17 @@ namespace OpenSim.Services.HypergridService | |||
474 | 474 | ||
475 | return new Dictionary<string, object>(); | 475 | return new Dictionary<string, object>(); |
476 | } | 476 | } |
477 | |||
478 | public string LocateUser(UUID userID) | ||
479 | { | ||
480 | foreach (TravelingAgentInfo t in m_TravelingAgents.Values) | ||
481 | { | ||
482 | if (t.UserID == userID) | ||
483 | return t.GridExternalName; | ||
484 | } | ||
485 | |||
486 | return string.Empty; | ||
487 | } | ||
477 | } | 488 | } |
478 | 489 | ||
479 | class TravelingAgentInfo | 490 | class TravelingAgentInfo |