only mark sensitive when set
This commit is contained in:
parent
a45eb56c90
commit
5f6dcf6556
|
@ -363,7 +363,9 @@ class UpdateStatusTask(
|
||||||
if (mediaIds != null) {
|
if (mediaIds != null) {
|
||||||
status.mediaIds(*mediaIds)
|
status.mediaIds(*mediaIds)
|
||||||
}
|
}
|
||||||
status.possiblySensitive(statusUpdate.is_possibly_sensitive)
|
if (statusUpdate.is_possibly_sensitive) {
|
||||||
|
status.possiblySensitive(statusUpdate.is_possibly_sensitive)
|
||||||
|
}
|
||||||
return microBlog.updateStatus(status)
|
return microBlog.updateStatus(status)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue