Merge branch 'main' into feature/groups

This commit is contained in:
Ske 2020-08-21 18:31:22 +02:00
commit 8688f4d0bf
42 changed files with 359 additions and 219 deletions

View file

@ -26,4 +26,10 @@ namespace PluralKit.Core {
[JsonIgnore] public DateTimeZone Zone => DateTimeZoneProviders.Tzdb.GetZoneOrNull(UiTz);
}
public static class PKSystemExt
{
public static string DescriptionFor(this PKSystem system, LookupContext ctx) =>
system.DescriptionPrivacy.Get(ctx, system.Description);
}
}