This commit is contained in:
parent
116a6b50cd
commit
b3510acc32
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ export function uploadCompose(files) {
|
|||
if (status === 200) {
|
||||
dispatch(uploadComposeSuccess(data, file));
|
||||
|
||||
if (defaultSensitive && !spoiler) {
|
||||
if (defaultSensitive && !spoiler && (media.size + i) === 0) {
|
||||
dispatch(changeComposeSpoilerness());
|
||||
}
|
||||
} else if (status === 202) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue