fix "0" reply to ID
This commit is contained in:
parent
eccfa27128
commit
4f6476c807
|
@ -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;
|
s.inReplyToId = params.inReplyToId > 0 ? "" + params.inReplyToId : null;
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue