add missing draft params

closes sk22#302
This commit is contained in:
sk 2023-01-16 14:12:21 -03:00 committed by LucasGGamerM
parent 134a371263
commit 2be625fd76
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.id = id;
s.mediaAttachments = mediaAttachments; s.mediaAttachments = mediaAttachments;
s.createdAt = scheduledAt; s.createdAt = scheduledAt;
s.inReplyToId = params.inReplyToId > 0 ? "" + params.inReplyToId : null; s.inReplyToId = "" + params.inReplyToId;
s.content = s.text = params.text; s.content = s.text = params.text;
s.spoilerText = params.spoilerText; s.spoilerText = params.spoilerText;
s.visibility = params.visibility; s.visibility = params.visibility;