mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
Merge branch 'main' into feature/groups
This commit is contained in:
commit
8688f4d0bf
42 changed files with 359 additions and 219 deletions
|
|
@ -21,4 +21,13 @@ namespace PluralKit.Core
|
|||
|
||||
public Instant Created { get; private set; }
|
||||
}
|
||||
|
||||
public static class PKGroupExt
|
||||
{
|
||||
public static string? DescriptionFor(this PKGroup group, LookupContext ctx) =>
|
||||
group.DescriptionPrivacy.Get(ctx, group.Description);
|
||||
|
||||
public static string? IconFor(this PKGroup group, LookupContext ctx) =>
|
||||
group.IconPrivacy.Get(ctx, group.Icon);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue