fix: respect group icon privacy in JSON models
This commit is contained in:
parent
6eda5c4229
commit
e4bd8b4c9f
@ -73,7 +73,7 @@ public static class PKGroupExt
|
|||||||
|
|
||||||
o.Add("display_name", group.DisplayName);
|
o.Add("display_name", group.DisplayName);
|
||||||
o.Add("description", group.DescriptionPrivacy.Get(ctx, group.Description));
|
o.Add("description", group.DescriptionPrivacy.Get(ctx, group.Description));
|
||||||
o.Add("icon", group.Icon);
|
o.Add("icon", group.IconFor(ctx));
|
||||||
o.Add("banner", group.DescriptionPrivacy.Get(ctx, group.BannerImage));
|
o.Add("banner", group.DescriptionPrivacy.Get(ctx, group.BannerImage));
|
||||||
o.Add("color", group.Color);
|
o.Add("color", group.Color);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user