Disable sensitive media send if medias list is empty (#1309)
This commit is contained in:
parent
ce501f24e6
commit
0ddde62202
|
@ -992,7 +992,7 @@ public final class ComposeActivity
|
|||
}
|
||||
|
||||
Intent sendIntent = SendTootService.sendTootIntent(this, content, spoilerText,
|
||||
visibility, sensitive, mediaIds, mediaUris, mediaDescriptions, inReplyToId,
|
||||
visibility, !mediaUris.isEmpty() && sensitive, mediaIds, mediaUris, mediaDescriptions, inReplyToId,
|
||||
getIntent().getStringExtra(REPLYING_STATUS_CONTENT_EXTRA),
|
||||
getIntent().getStringExtra(REPLYING_STATUS_AUTHOR_USERNAME_EXTRA),
|
||||
getIntent().getStringExtra(SAVED_JSON_URLS_EXTRA),
|
||||
|
|
Loading…
Reference in New Issue