mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
parent
084df88624
commit
68cd21fb2f
8 changed files with 46 additions and 9 deletions
|
|
@ -146,7 +146,7 @@ public static class ContextListExt
|
|||
ret += $"({m.DisplayName})";
|
||||
else if (opts.IncludeBirthday && m.BirthdayFor(lookupCtx) is { } birthday)
|
||||
ret += $"(birthday: {m.BirthdayString})";
|
||||
else if (m.HasProxyTags)
|
||||
else if (m.HasProxyTags && m.ProxyPrivacy.CanAccess(lookupCtx))
|
||||
{
|
||||
var proxyTagsString = m.ProxyTagsString();
|
||||
if (proxyTagsString.Length > 100) // arbitrary threshold for now, tweak?
|
||||
|
|
@ -173,7 +173,7 @@ public static class ContextListExt
|
|||
if (m.BirthdayFor(lookupCtx) != null)
|
||||
profile.Append($"\n**Birthdate**: {m.BirthdayString}");
|
||||
|
||||
if (m.ProxyTags.Count > 0)
|
||||
if (m.ProxyTags.Count > 0 && m.ProxyPrivacy.CanAccess(lookupCtx))
|
||||
profile.Append($"\n**Proxy tags**: {m.ProxyTagsString()}");
|
||||
|
||||
if ((opts.IncludeMessageCount || opts.SortProperty == SortProperty.MessageCount) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue