[Glitch] Fix blank CW enabled when redrafting sensitive-media-only posts

This commit is contained in:
Sharlayan authored and Sharlayan committed 2026-07-14 00:41:23 +00:00
1 parent c26bb15c24
commit ca746b6086
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', '');
}