diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 19d4e84..3ff21ea 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2676,6 +2676,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
2676 | } | 2676 | } |
2677 | 2677 | ||
2678 | /// <summary> | 2678 | /// <summary> |
2679 | /// Returns the Home URI of the agent, or null if unknown. | ||
2680 | /// </summary> | ||
2681 | public string GetAgentHomeURI(UUID agentID) | ||
2682 | { | ||
2683 | AgentCircuitData circuit = AuthenticateHandler.GetAgentCircuitData(agentID); | ||
2684 | if (circuit != null && circuit.ServiceURLs != null && circuit.ServiceURLs.ContainsKey("HomeURI")) | ||
2685 | return circuit.ServiceURLs["HomeURI"].ToString(); | ||
2686 | else | ||
2687 | return null; | ||
2688 | } | ||
2689 | |||
2690 | /// <summary> | ||
2679 | /// Cache the user name for later use. | 2691 | /// Cache the user name for later use. |
2680 | /// </summary> | 2692 | /// </summary> |
2681 | /// <param name="sp"></param> | 2693 | /// <param name="sp"></param> |