@@ -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 @@