Compare commits

...

1 Commits

Author SHA1 Message Date
sk
4f6476c807 fix "0" reply to ID 2023-01-17 02:17:40 +01:00

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;