about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-01-08 23:15:58 -0600
committerGitHub <noreply@github.com>2018-01-08 23:15:58 -0600
commit488381ae2f19cbe37700745d0f97590e84c9b9d1 (patch)
tree94e983c09853ef1527cb27f982bf14d8ea532d6b /app/javascript/flavours
parent90e568413b11a467ca500dabd52bc6608655b0bd (diff)
parent824a790e63baf75ea7d0ef2a46f55b6fb211d151 (diff)
Merge pull request #310 from glitch-soc/fix-thread-inheritance
Threads now inherit privacy directly (#309)
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/reducers/compose.js2
1 files changed, 1 insertions, 1 deletions
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());