diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-01-07 18:11:50 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-01-07 19:05:31 +0100 |
commit | 180f1383943ad171d8394ef9af7c7861bfc08056 (patch) | |
tree | 09ab2eb1357805e792ffcce282fe9d860e8524e8 /app/javascript/flavours/glitch/actions | |
parent | 9871466958a5db6c4b75cab120eb6ca706c26d7e (diff) |
Make prepending “re: ” to CWs on reply optional
Diffstat (limited to 'app/javascript/flavours/glitch/actions')
-rw-r--r-- | app/javascript/flavours/glitch/actions/compose.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/compose.js b/app/javascript/flavours/glitch/actions/compose.js index f80642bd8..0be746048 100644 --- a/app/javascript/flavours/glitch/actions/compose.js +++ b/app/javascript/flavours/glitch/actions/compose.js @@ -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); |