about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-21 20:33:58 +0200
committerFire Demon <firedemon@creature.cafe>2020-09-08 03:37:07 -0500
commitc05f4a88260e5aeb75be6a4121e812f6669e52b4 (patch)
treeb1eca3bad914eca8ba33c7d8991b78b78a1ac521 /app/javascript/flavours/glitch/actions
parent550b30e6d6abcad0b816434de49adf349fc35e75 (diff)
Redesign local-only toots in glitch flavour
Co-authored-by: Fire Demon <firedemon@creature.cafe>
Diffstat (limited to 'app/javascript/flavours/glitch/actions')
-rw-r--r--app/javascript/flavours/glitch/actions/compose.js4
1 files changed, 1 insertions, 3 deletions
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']),