fix: respect sys name privacy in group embed

This commit is contained in:
rladenson 2024-10-03 00:52:43 -06:00 committed by violet
parent debfc46776
commit bd67bc57e6

View file

@ -263,7 +263,7 @@ public class EmbedService
else if (system.NameFor(ctx) != null)
nameField = $"{nameField} ({system.NameFor(ctx)})";
else
nameField = $"{nameField} ({system.Name})";
nameField = $"{nameField}";
var eb = new EmbedBuilder()
.Author(new Embed.EmbedAuthor(nameField, IconUrl: target.IconFor(pctx), Url: $"https://dash.pluralkit.me/profile/g/{target.Hid}"))