pleroma: fix null deref
This commit is contained in:
parent
c15371ea9f
commit
9aa8a41389
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue