]> cat aescling's git repositories - mastodon.git/commitdiff
Fix threaded mode
authorThibaut Girka <thib@sitedethib.com>
Tue, 1 Sep 2020 07:19:41 +0000 (09:19 +0200)
committerThibG <thib@sitedethib.com>
Tue, 1 Sep 2020 07:37:17 +0000 (09:37 +0200)
Fixes #1414

app/javascript/flavours/glitch/reducers/compose.js

index 478883f91fd0dbf567f68f2167983e9e44dd7dcc..e081c31ad93737c07b34e892b4f05205735566e4 100644 (file)
@@ -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);