mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-07 07:28:16 +00:00
Merge pull request #310 from glitch-soc/fix-thread-inheritance
Threads now inherit privacy directly (#309)
This commit is contained in:
commit
488381ae2f
|
@ -134,7 +134,7 @@ function continueThread (state, status) {
|
||||||
'advanced_options',
|
'advanced_options',
|
||||||
map => map.merge(new ImmutableMap({ do_not_federate: /👁\ufe0f?\u200b?(?:<\/p>)?$/.test(status.content) }))
|
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.set('sensitive', false);
|
||||||
map.update('media_attachments', list => list.clear());
|
map.update('media_attachments', list => list.clear());
|
||||||
map.set('idempotencyKey', uuid());
|
map.set('idempotencyKey', uuid());
|
||||||
|
|
Loading…
Reference in a new issue