[Glitch] Fix “mark as sensitive” not being used in delete & redraft
Port 024ec0759c
to glitch-soc
lolsob-rspec
parent
a473a7912b
commit
c15ff07c69
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue