add missing draft params

closes sk22#302
This commit is contained in:
sk 2023-01-16 18:12:21 +01:00
parent 0468ae246e
commit ee19410cc6
1 changed files with 2 additions and 0 deletions

View File

@ -66,10 +66,12 @@ public class ScheduledStatus extends BaseModel implements DisplayItemsParent{
s.id = id;
s.mediaAttachments = mediaAttachments;
s.createdAt = scheduledAt;
s.inReplyToId = "" + params.inReplyToId;
s.content = s.text = params.text;
s.spoilerText = params.spoilerText;
s.visibility = params.visibility;
s.language = params.language;
s.sensitive = params.sensitive;
s.mentions = List.of();
s.tags = List.of();
s.emojis = List.of();