mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: respect sys name privacy in group list
This commit is contained in:
parent
bd67bc57e6
commit
3d9be096cb
1 changed files with 2 additions and 2 deletions
|
|
@ -460,8 +460,8 @@ public class Groups
|
||||||
{
|
{
|
||||||
var title = new StringBuilder("Groups of ");
|
var title = new StringBuilder("Groups of ");
|
||||||
|
|
||||||
if (target.Name != null)
|
if (target.NameFor(ctx) != null)
|
||||||
title.Append($"{target.Name} (`{target.DisplayHid(ctx.Config)}`)");
|
title.Append($"{target.NameFor(ctx)} (`{target.DisplayHid(ctx.Config)}`)");
|
||||||
else
|
else
|
||||||
title.Append($"`{target.DisplayHid(ctx.Config)}`");
|
title.Append($"`{target.DisplayHid(ctx.Config)}`");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue