diff --git a/OpenSim/Framework/UserProfileData.cs b/OpenSim/Framework/UserProfileData.cs index b226bbaf43..f51a1997c4 100644 --- a/OpenSim/Framework/UserProfileData.cs +++ b/OpenSim/Framework/UserProfileData.cs @@ -114,6 +114,11 @@ namespace OpenSim.Framework /// private uint m_profileWantDoMask; // Profile window "I want to" mask + /// + /// The profile url for an avatar + /// + private string m_profileUrl; + private UUID m_rootInventoryFolderId; /// @@ -349,6 +354,12 @@ namespace OpenSim.Framework set { m_profileFirstText = value; } } + public string ProfileUrl + { + get { return m_profileUrl; } + set { m_profileUrl = value; } + } + public UUID Image { get { return m_profileImage; } diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 3d58839742..7633b7bf00 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -4954,6 +4954,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP UserProfile.FirstLifeAboutText = Utils.BytesToString(Properties.FLAboutText); UserProfile.FirstLifeImage = Properties.FLImageID; UserProfile.Image = Properties.ImageID; + UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL); handlerUpdateAvatarProperties(this, UserProfile); } diff --git a/OpenSim/Region/CoreModules/Avatar/Profiles/AvatarProfilesModule.cs b/OpenSim/Region/CoreModules/Avatar/Profiles/AvatarProfilesModule.cs index 0f5b76a32b..d3324e431c 100644 --- a/OpenSim/Region/CoreModules/Avatar/Profiles/AvatarProfilesModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Profiles/AvatarProfilesModule.cs @@ -111,7 +111,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Profiles remoteClient.SendAvatarProperties(profile.ID, profile.AboutText, Util.ToDateTime(profile.Created).ToString("M/d/yyyy", CultureInfo.InvariantCulture), charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff), - profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner); + profile.FirstLifeImage, profile.Image, profile.ProfileUrl, profile.Partner); } else { @@ -130,6 +130,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Profiles Profile.FirstLifeImage = newProfile.FirstLifeImage; Profile.AboutText = newProfile.AboutText; Profile.FirstLifeAboutText = newProfile.FirstLifeAboutText; + Profile.ProfileUrl = newProfile.ProfileUrl; } else {