diff options
author | ThibG <thib@sitedethib.com> | 2019-06-06 13:04:34 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-06-07 17:39:46 +0200 |
commit | 417989ae34594df3d6ce720dfe70132158b6da28 (patch) | |
tree | 4a04e122e7ed02af0cf9ee3d9e6938014906fa25 /app/javascript | |
parent | b32a62fe957c9c81e03ea3970705ff5eb46abf72 (diff) |
[Glitch] Fix “mark as sensitive” not being used in delete & redraft
Port 2657765d2a6804f34ce65bfdab7ec96f07d99732 to glitch-soc
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/compose.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index 51a341c42..36dfb8f15 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -442,6 +442,7 @@ export default function compose(state = initialState, action) { map.set('focusDate', new Date()); map.set('caretPosition', null); map.set('idempotencyKey', uuid()); + map.set('sensitive', action.status.get('sensitive')); if (action.status.get('spoiler_text').length > 0) { map.set('spoiler', true); |