From: ThibG Date: Thu, 6 Jun 2019 11:04:34 +0000 (+0200) Subject: [Glitch] Fix “mark as sensitive” not being used in delete & redraft X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=417989ae34594df3d6ce720dfe70132158b6da28;p=mastodon.git [Glitch] Fix “mark as sensitive” not being used in delete & redraft Port 2657765d2a6804f34ce65bfdab7ec96f07d99732 to glitch-soc --- 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);