pleroma: fix null deref

This commit is contained in:
uwaa 2024-11-30 13:14:31 +00:00
parent c15371ea9f
commit 9aa8a41389

View file

@ -35,7 +35,7 @@ public class Status
public bool Pinned { get; set; } public bool Pinned { get; set; }
[JsonIgnore] [JsonIgnore]
public string Content => Pleroma?.Content.Plain ?? HtmlContent; public string Content => Pleroma?.Content?.Plain ?? HtmlContent;
public bool CheckMention(string id) public bool CheckMention(string id)
{ {