Make prepending “re: ” to CWs on reply optional

This commit is contained in:
Thibaut Girka
2020-01-07 18:11:50 +01:00
committed by ThibG
parent 9871466958
commit 180f138394
4 changed files with 12 additions and 1 deletions

View File

@ -91,9 +91,11 @@ export function cycleElefriendCompose() {
export function replyCompose(status, routerHistory) {
return (dispatch, getState) => {
const prependCWRe = getState().getIn(['local_settings', 'prepend_cw_re']);
dispatch({
type: COMPOSE_REPLY,
status: status,
prependCWRe: prependCWRe,
});
ensureComposeIsVisible(getState, routerHistory);