Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
fix "0" reply to ID
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed Jan 17, 2023
1 parent eccfa27 commit 4f6476c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public Status toStatus() {
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;
Expand Down

0 comments on commit 4f6476c

Please sign in to comment.