Threads now inherit privacy directly (#309)

This commit is contained in:
kibigo! 2018-01-08 16:35:01 -08:00
parent d4a36ee962
commit 62a33d5ae0

View 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());