From: kibigo! Date: Tue, 9 Jan 2018 00:35:01 +0000 (-0800) Subject: Threads now inherit privacy directly (#309) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=824a790e63baf75ea7d0ef2a46f55b6fb211d151;p=mastodon.git Threads now inherit privacy directly (#309) --- diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index f341977b7..ae1276685 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -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());