From c05f4a88260e5aeb75be6a4121e812f6669e52b4 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Mon, 21 May 2018 20:33:58 +0200 Subject: Redesign local-only toots in glitch flavour Co-authored-by: Fire Demon --- app/javascript/flavours/glitch/actions/compose.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/javascript/flavours/glitch/actions') diff --git a/app/javascript/flavours/glitch/actions/compose.js b/app/javascript/flavours/glitch/actions/compose.js index 4c2cca9eb..8c126c6e2 100644 --- a/app/javascript/flavours/glitch/actions/compose.js +++ b/app/javascript/flavours/glitch/actions/compose.js @@ -156,9 +156,6 @@ export function submitCompose(routerHistory) { } dispatch(submitComposeRequest()); - if (getState().getIn(['compose', 'advanced_options', 'do_not_federate'])) { - status = status + ' 👁️'; - } submit_action(submit_url, { status, content_type: getState().getIn(['compose', 'content_type']), @@ -168,6 +165,7 @@ export function submitCompose(routerHistory) { spoiler_text: spoilerText, visibility: getState().getIn(['compose', 'privacy']), poll: getState().getIn(['compose', 'poll'], null), + local_only: getState().getIn(['compose', 'advanced_options', 'do_not_federate']), }, { headers: { 'Idempotency-Key': getState().getIn(['compose', 'idempotencyKey']), -- cgit