From: ThibG Date: Thu, 6 Jun 2019 11:04:34 +0000 (+0200) Subject: Fix “mark as sensitive” not being used in delete & redraft (#10980) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2657765d2a6804f34ce65bfdab7ec96f07d99732;p=mastodon.git Fix “mark as sensitive” not being used in delete & redraft (#10980) --- diff --git a/app/javascript/mastodon/reducers/compose.js b/app/javascript/mastodon/reducers/compose.js index 708272591..29c691144 100644 --- a/app/javascript/mastodon/reducers/compose.js +++ b/app/javascript/mastodon/reducers/compose.js @@ -338,6 +338,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);