diff options
Diffstat (limited to 'OpenSim/Framework/Communications/CommunicationsManager.cs')
-rw-r--r-- | OpenSim/Framework/Communications/CommunicationsManager.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index ee0d164..2813aa0 100644 --- a/OpenSim/Framework/Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs | |||
@@ -259,6 +259,19 @@ namespace OpenSim.Framework.Communications | |||
259 | } | 259 | } |
260 | } | 260 | } |
261 | } | 261 | } |
262 | public string UUIDNameRequestString(LLUUID uuid) | ||
263 | { | ||
264 | UserProfileData profileData = m_userService.GetUserProfile(uuid); | ||
265 | if (profileData != null) | ||
266 | { | ||
267 | //LLUUID profileId = profileData.ID; | ||
268 | string firstname = profileData.FirstName; | ||
269 | string lastname = profileData.SurName; | ||
270 | |||
271 | return firstname + " " + lastname; | ||
272 | } | ||
273 | return "(hippos)"; | ||
274 | } | ||
262 | 275 | ||
263 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(LLUUID queryID, string query) | 276 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(LLUUID queryID, string query) |
264 | { | 277 | { |