mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-28 10:33:07 -05:00
[Glitch] Fix redrafting a currently-editing post not leaving edit mode
Port 782b6835f786385c41c6455f2a251d1925b19eb5 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
fe1b694128
commit
9b6d6a919f
@ -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…
x
Reference in New Issue
Block a user