diff --git a/app/assets/javascripts/components/actions/compose.jsx b/app/assets/javascripts/components/actions/compose.jsx
index fdb0abdcd55..9c9ec9ddec8 100644
--- a/app/assets/javascripts/components/actions/compose.jsx
+++ b/app/assets/javascripts/components/actions/compose.jsx
@@ -67,14 +67,14 @@ export function submitCompose() {
in_reply_to_id: getState().getIn(['compose', 'in_reply_to'], null),
media_ids: getState().getIn(['compose', 'media_attachments']).map(item => item.get('id')),
sensitive: getState().getIn(['compose', 'sensitive']),
- visibility: getState().getIn(['compose', 'unlisted']) ? 'unlisted' : 'public'
+ visibility: getState().getIn(['compose', 'private']) ? 'private' : 'public'
}).then(function (response) {
dispatch(submitComposeSuccess({ ...response.data }));
// To make the app more responsive, immediately get the status into the columns
dispatch(updateTimeline('home', { ...response.data }));
- if (response.data.in_reply_to_id === null && !getState().getIn(['compose', 'unlisted'])) {
+ if (response.data.in_reply_to_id === null && !getState().getIn(['compose', 'private'])) {
dispatch(updateTimeline('public', { ...response.data }));
}
}).catch(function (error) {
diff --git a/app/assets/javascripts/components/features/compose/components/compose_form.jsx b/app/assets/javascripts/components/features/compose/components/compose_form.jsx
index 200502dadd2..6a0e6778da9 100644
--- a/app/assets/javascripts/components/features/compose/components/compose_form.jsx
+++ b/app/assets/javascripts/components/features/compose/components/compose_form.jsx
@@ -117,8 +117,8 @@ const ComposeForm = React.createClass({