Merge pull request #3581 from sharlayan/glitch
[Glitch] Fix blank CW enabled when redrafting sensitive-media-only posts (REDRAFT case)
This commit is contained in:
1 parent
99560817b5
commit
a6f43c8e83
1 file changed
+1
-1
@@ -669,7 +669,7 @@ export const composeReducer = (state = initialState, action) => {
|
||||
map.set('sensitive', true);
|
||||
}
|
||||
} 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