diff --git a/resources/assets/js/components/ComposeModal.vue b/resources/assets/js/components/ComposeModal.vue index 71352fe6d..4d200647a 100644 --- a/resources/assets/js/components/ComposeModal.vue +++ b/resources/assets/js/components/ComposeModal.vue @@ -135,7 +135,7 @@ - +
@@ -301,6 +301,9 @@ export default { fetchProfile() { axios.get('/api/v1/accounts/verify_credentials').then(res => { this.profile = res.data; + if(res.data.locked == true) { + this.visibility = 'private'; + } }).catch(err => { console.log(err) }); diff --git a/resources/views/timeline/partial/new-form.blade.php b/resources/views/timeline/partial/new-form.blade.php index ebd4f5c95..9fdcdc862 100644 --- a/resources/views/timeline/partial/new-form.blade.php +++ b/resources/views/timeline/partial/new-form.blade.php @@ -34,9 +34,15 @@