mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Disable threaded mode when canceling a reply (fixes #583)
This commit is contained in:
@@ -297,6 +297,7 @@ export default function compose(state = initialState, action) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
case COMPOSE_REPLY_CANCEL:
|
case COMPOSE_REPLY_CANCEL:
|
||||||
|
state = state.setIn(['advanced_options', 'threaded_mode'], false);
|
||||||
case COMPOSE_RESET:
|
case COMPOSE_RESET:
|
||||||
return state.withMutations(map => {
|
return state.withMutations(map => {
|
||||||
map.set('in_reply_to', null);
|
map.set('in_reply_to', null);
|
||||||
|
|||||||
Reference in New Issue
Block a user