Add disabling reaction pings

This commit is contained in:
Lillian Berry
2020-03-21 08:04:41 -05:00
committed by Ske
parent 216dfffe58
commit 59af6f02e8
8 changed files with 45 additions and 9 deletions

View File

@@ -17,11 +17,12 @@ namespace PluralKit.Core {
[JsonIgnore] public string Token { get; set; }
[JsonProperty("created")] public Instant Created { get; set; }
[JsonProperty("tz")] public string UiTz { get; set; }
public PrivacyLevel DescriptionPrivacy { get; set; }
[JsonProperty("ping")] public bool Pings { get; set; }
public PrivacyLevel DescriptionPrivacy { get; set; }
public PrivacyLevel MemberListPrivacy { get; set; }
public PrivacyLevel FrontPrivacy { get; set; }
public PrivacyLevel FrontHistoryPrivacy { get; set; }
[JsonIgnore] public DateTimeZone Zone => DateTimeZoneProviders.Tzdb.GetZoneOrNull(UiTz);
}
}
}