Skip to content

Commit 669b28c

Browse files
ClearlyClaireGargron
authored andcommitted
Fix “mark as sensitive” not being used in delete & redraft (mastodon#10980)
1 parent e7c084b commit 669b28c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/javascript/mastodon/reducers/compose.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ export default function compose(state = initialState, action) {
338338
map.set('focusDate', new Date());
339339
map.set('caretPosition', null);
340340
map.set('idempotencyKey', uuid());
341+
map.set('sensitive', action.status.get('sensitive'));
341342

342343
if (action.status.get('spoiler_text').length > 0) {
343344
map.set('spoiler', true);

0 commit comments

Comments
 (0)