From 08d6cf2a38eec3c0a85ae5717c07b158c9549b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KMY=EF=BC=88=E9=9B=AA=E3=81=82=E3=81=99=E3=81=8B=EF=BC=89?= Date: Thu, 21 Mar 2024 15:15:14 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#655=20=E3=82=BB=E3=83=B3=E3=82=B7?= =?UTF-8?q?=E3=83=86=E3=82=A3=E3=83=96=E3=83=95=E3=83=A9=E3=82=B0=E4=BB=98?= =?UTF-8?q?=E3=81=8D=E3=81=AE=E7=94=BB=E5=83=8F=E3=82=92=E7=B7=A8=E9=9B=86?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=81=A8=E3=83=95=E3=83=A9=E3=82=B0=E3=81=8C?= =?UTF-8?q?=E5=A4=96=E3=82=8C=E3=82=8B=20(#662)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/mastodon/reducers/compose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/reducers/compose.js b/app/javascript/mastodon/reducers/compose.js index 62a5904736..28fbe9068e 100644 --- a/app/javascript/mastodon/reducers/compose.js +++ b/app/javascript/mastodon/reducers/compose.js @@ -629,7 +629,7 @@ export default function compose(state = initialState, action) { map.set('spoiler', true); map.set('spoiler_text', action.spoiler_text); } else { - map.set('spoiler', false); + map.set('spoiler', action.status.get('sensitive')); map.set('spoiler_text', ''); }