Merge pull request #3577 from sharlayan/patch-1

[Glitch] Fix blank CW enabled when redrafting sensitive-media-only posts
This commit is contained in:
Claire authored and GitHub committed 2026-07-14 17:27:11 +02:00
commit 07a07c11f4
1 file changed
+1 -1
@@ -708,7 +708,7 @@ export const composeReducer = (state = initialState, action) => {
map.set('spoiler', true);
map.set('spoiler_text', action.spoiler_text);
} else {
map.set('spoiler', action.status.get('sensitive') && action.status.get('media_attachments').size > 0);
map.set('spoiler', false);
map.set('spoiler_text', '');
}