mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: respect group icon privacy in JSON models
This commit is contained in:
parent
6eda5c4229
commit
e4bd8b4c9f
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ public static class PKGroupExt
|
|||
|
||||
o.Add("display_name", group.DisplayName);
|
||||
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("color", group.Color);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue