fix "0" reply to ID

This commit is contained in:
sk 2023-01-17 02:17:40 +01:00 committed by LucasGGamerM
parent 4fa641b482
commit bef3c72513
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class ScheduledStatus extends BaseModel implements DisplayItemsParent{
s.id = id;
s.mediaAttachments = mediaAttachments;
s.createdAt = scheduledAt;
s.inReplyToId = "" + params.inReplyToId;
s.inReplyToId = params.inReplyToId > 0 ? "" + params.inReplyToId : null;
s.content = s.text = params.text;
s.spoilerText = params.spoilerText;
s.visibility = params.visibility;