This commit is contained in:
Thomas 2020-07-04 18:40:27 +02:00
parent bb15c97721
commit 76aa2ac2d9
1 changed files with 1 additions and 1 deletions

View File

@ -4650,7 +4650,7 @@ public class API {
if (status.getScheduled_at() != null)
jsonObject.addProperty("scheduled_at", status.getScheduled_at());
if (status.isSensitive())
jsonObject.addProperty("sensitive", Boolean.toString(status.isSensitive()));
jsonObject.addProperty("sensitive", status.isSensitive());
if (status.getSpoiler_text() != null)
jsonObject.addProperty("spoiler_text", status.getSpoiler_text());