From e063f0d592d07c1131c30893c93b01c4dd5e819a Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 27 Dec 2009 15:47:14 +0000 Subject: [PATCH] Encode the published and mature checkboxes into the user flags for profiles --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index f6c505ad0e..096d5e1688 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -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); }