Merge pull request #310 from glitch-soc/fix-thread-inheritance

Threads now inherit privacy directly (#309)
rebase/4.0.0rc2
David Yip 2018-01-08 23:15:58 -06:00 committed by GitHub
commit 488381ae2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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