From 9c15db16a62175e3c82b8119b0b5182bbe71e9d7 Mon Sep 17 00:00:00 2001 From: Norm Date: Wed, 3 Sep 2025 20:53:11 -0400 Subject: [PATCH] Fix sensitive by default option Fixes https://akkoma.dev/AkkomaGang/akkoma-fe/issues/442 --- src/components/post_status_form/post_status_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 81c94969..e8b3cc0a 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -513,7 +513,7 @@ const PostStatusForm = { addMediaFile (fileInfo) { this.newStatus.files.push(fileInfo) - if (this.$store.getters.mergedConfig.sensitiveIfSubject && this.newStatus.spoilerText !== '') { + if (this.$store.getters.mergedConfig.sensitiveIfSubject && this.newStatus.spoilerText !== '' || !!this.$store.getters.mergedConfig.sensitiveByDefault) { this.newStatus.nsfw = true } this.$emit('resize', { delayed: true })