about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/reducers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-09-01 09:19:41 +0200
committerThibG <thib@sitedethib.com>2020-09-01 09:37:17 +0200
commite02f375d22afe8082167db4d931c577ca1ea02ba (patch)
treef35e11434168e075694931b13e7aaddc330097c2 /app/javascript/flavours/glitch/reducers
parent38182fceb31f9f9995dc5c6fe4c40eaca2831bc0 (diff)
Fix threaded mode
Fixes #1414
Diffstat (limited to 'app/javascript/flavours/glitch/reducers')
-rw-r--r--app/javascript/flavours/glitch/reducers/compose.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js
index 478883f91..e081c31ad 100644
--- a/app/javascript/flavours/glitch/reducers/compose.js
+++ b/app/javascript/flavours/glitch/reducers/compose.js
@@ -184,7 +184,7 @@ function continueThread (state, status) {
     map.set('in_reply_to', status.id);
     map.update(
       'advanced_options',
-      map => map.merge(new ImmutableMap({ do_not_federate: status.get('local_only') }))
+      map => map.merge(new ImmutableMap({ do_not_federate: status.local_only }))
     );
     map.set('privacy', status.visibility);
     map.set('sensitive', false);