From 552b4d9a5f809fbca8a57313b776f2a22448945f Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 17 Jul 2018 22:03:52 +0200 Subject: [PATCH] Disable threaded mode when canceling a reply (fixes #583) --- app/javascript/flavours/glitch/reducers/compose.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index e937b3ccf0..4ea87b7e51 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -297,6 +297,7 @@ export default function compose(state = initialState, action) { } }); case COMPOSE_REPLY_CANCEL: + state = state.setIn(['advanced_options', 'threaded_mode'], false); case COMPOSE_RESET: return state.withMutations(map => { map.set('in_reply_to', null);