From 9c15db16a62175e3c82b8119b0b5182bbe71e9d7 Mon Sep 17 00:00:00 2001 From: Norm Date: Wed, 3 Sep 2025 20:53:11 -0400 Subject: [PATCH 1/2] 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 }) From 9ef8effeed208f2cc57a7b68c556216231fb48e8 Mon Sep 17 00:00:00 2001 From: Norm Date: Sat, 6 Sep 2025 08:29:03 -0400 Subject: [PATCH 2/2] Clarify the `sensitiveIfSUbject` setting description --- src/i18n/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/en.json b/src/i18n/en.json index 610238d4..e2605ecc 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -728,7 +728,7 @@ "security": "Security", "security_tab": "Security", "sensitive_by_default": "Mark posts as sensitive by default", - "sensitive_if_subject": "Automatically mark images as sensitive if a content warning is specified", + "sensitive_if_subject": "Automatically mark post as sensitive if a content warning is specified", "set_new_avatar": "Set new avatar", "set_new_mascot": "Set new mascot", "set_new_profile_background": "Set new profile background",