diff options
author | ThibG <thib@sitedethib.com> | 2019-06-06 13:04:34 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-19 16:38:32 -0600 |
commit | df2518da9e46fab53fb3189d7978a285eee67f12 (patch) | |
tree | edbadc36f30d27896a812a2b707ef112c3dac3db /app | |
parent | d5cebd1cc8a58359c2337ceac9f7ec2fd62eb726 (diff) |
Fix “mark as sensitive” not being used in delete & redraft (#10980)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/reducers/compose.js | 1 |
1 files changed, 1 insertions, 0 deletions
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); |