mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Store and retrieve user profile url at runtime Not yet persisted Thanks Fly-Man
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user