mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Encode the published and mature checkboxes into the user flags for
profiles
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user