From e4bd8b4c9fe05942fdeeaf266708c684ad6ae3d3 Mon Sep 17 00:00:00 2001 From: spiral Date: Sat, 8 Jan 2022 09:00:57 -0500 Subject: [PATCH] fix: respect group icon privacy in JSON models --- PluralKit.Core/Models/PKGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Models/PKGroup.cs b/PluralKit.Core/Models/PKGroup.cs index 40eb7b7a..05ea30e4 100644 --- a/PluralKit.Core/Models/PKGroup.cs +++ b/PluralKit.Core/Models/PKGroup.cs @@ -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);