about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2018-01-08 16:35:01 -0800
committerkibigo! <marrus-sh@users.noreply.github.com>2018-01-08 16:35:01 -0800
commit824a790e63baf75ea7d0ef2a46f55b6fb211d151 (patch)
tree94e983c09853ef1527cb27f982bf14d8ea532d6b /app/javascript
parent90e568413b11a467ca500dabd52bc6608655b0bd (diff)
Threads now inherit privacy directly (#309)
Diffstat (limited to 'app/javascript')
-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());