summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Profile.pm
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-24 21:41:51 +0200
committerDerf Null <derf@finalrewind.org>2023-05-24 21:41:51 +0200
commit7580497ceab15b80e9c6fcfd7b000a9e4d6fd0a7 (patch)
tree27145bea4c40f618c75ad97adca06e047a0a90c8 /lib/Travelynx/Controller/Profile.pm
parentac816c09b23233c9e3de0f1b12cc905a921ca85a (diff)
get_user_status_json_v1: expose visibility
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm5
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',
},