From aab9fa7fe295a5aeefe358dd8d6ce55f6c6ea978 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Mon, 29 May 2023 14:45:02 +0200 Subject: Profile#user_status: use account.name, not just name --- lib/Travelynx/Controller/Profile.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/Travelynx/Controller') diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm index a268a23..1660a5b 100755 --- a/lib/Travelynx/Controller/Profile.pm +++ b/lib/Travelynx/Controller/Profile.pm @@ -408,7 +408,9 @@ sub user_status { $self->respond_to( json => { json => { - name => $name, + account => { + name => $name, + }, status => $self->get_user_status_json_v1( status => $status, privacy => $user, -- cgit v1.2.3