Encode the published and mature checkboxes into the user flags for

profiles
mysql-performance
Melanie 2009-12-27 15:47:14 +00:00
parent 763fa90be5
commit e063f0d592
1 changed files with 3 additions and 0 deletions

View File

@ -4857,6 +4857,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
UserProfile.FirstLifeImage = Properties.FLImageID;
UserProfile.Image = Properties.ImageID;
UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL);
Userprofile.Flags &= ~3;
Userprofile.Flags |= Properties.AllowPublish ? 1 : 0;
Userprofile.Flags |= Properties.MaturePublish ? 2 : 0;
handlerUpdateAvatarProperties(this, UserProfile);
}