[Glitch] Fix blank CW enabled when redrafting sensitive-media-only posts
This commit is contained in:
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', '');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user