]> cat aescling's git repositories - mastodon.git/commitdiff
Threads now inherit privacy directly (#309)
authorkibigo! <marrus-sh@users.noreply.github.com>
Tue, 9 Jan 2018 00:35:01 +0000 (16:35 -0800)
committerkibigo! <marrus-sh@users.noreply.github.com>
Tue, 9 Jan 2018 00:35:01 +0000 (16:35 -0800)
app/javascript/flavours/glitch/reducers/compose.js

index f341977b7ba4ec6a06cd1372b55910302511791c..ae12766859878dff3dcca551f8192ac32f02d6dc 100644 (file)
@@ -134,7 +134,7 @@ function continueThread (state, status) {
       'advanced_options',
       map => map.merge(new ImmutableMap({ do_not_federate: /👁\ufe0f?\u200b?(?:<\/p>)?$/.test(status.content) }))
     );
-    map.set('privacy', privacyPreference(status.visibility, state.get('default_privacy')));
+    map.set('privacy', status.visibility);
     map.set('sensitive', false);
     map.update('media_attachments', list => list.clear());
     map.set('idempotencyKey', uuid());