diff options
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-x | lib/Travelynx/Controller/Profile.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm index 6754159..925a1ff 100755 --- a/lib/Travelynx/Controller/Profile.pm +++ b/lib/Travelynx/Controller/Profile.pm @@ -410,8 +410,9 @@ sub user_status { json => { name => $name, status => $self->get_user_status_json_v1( - status => $status, - public => 1 + status => $status, + privacy => $user, + public => 1 ), version => $self->app->config->{version} // 'UNKNOWN', }, |