Encode the published and mature checkboxes into the user flags for
profilesmysql-performance
parent
763fa90be5
commit
e063f0d592
|
@ -4857,6 +4857,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
UserProfile.FirstLifeImage = Properties.FLImageID;
|
UserProfile.FirstLifeImage = Properties.FLImageID;
|
||||||
UserProfile.Image = Properties.ImageID;
|
UserProfile.Image = Properties.ImageID;
|
||||||
UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL);
|
UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL);
|
||||||
|
Userprofile.Flags &= ~3;
|
||||||
|
Userprofile.Flags |= Properties.AllowPublish ? 1 : 0;
|
||||||
|
Userprofile.Flags |= Properties.MaturePublish ? 2 : 0;
|
||||||
|
|
||||||
handlerUpdateAvatarProperties(this, UserProfile);
|
handlerUpdateAvatarProperties(this, UserProfile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue