[Glitch] Fix redrafting a currently-editing post not leaving edit mode
Port 793cc2096d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
59e51cfea4
commit
e9aa9c43ec
1 changed files with 1 additions and 0 deletions
|
@ -573,6 +573,7 @@ export default function compose(state = initialState, action) {
|
|||
'advanced_options',
|
||||
map => map.merge(new ImmutableMap({ do_not_federate }))
|
||||
);
|
||||
map.set('id', null);
|
||||
|
||||
if (action.status.get('spoiler_text').length > 0) {
|
||||
map.set('spoiler', true);
|
||||
|
|
Loading…
Reference in a new issue