From ee3d6fcfee574ac9f1dcbc0d55c296fc4d5c06ac Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 9 May 2022 08:23:55 +0000 Subject: use addr for webfinger and name for the real name in the userinfo array --- include/nav.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/nav.php b/include/nav.php index 090785301..c2c87232b 100644 --- a/include/nav.php +++ b/include/nav.php @@ -83,7 +83,8 @@ function nav($template = 'default') { if ($observer) { $userinfo = [ 'icon' => $observer['xchan_photo_m'] . '?rev=' . strtotime($observer['xchan_photo_date']), - 'name' => $observer['xchan_addr'], + 'addr' => $observer['xchan_addr'], + 'name' => $observer['xchan_name'], ]; } -- cgit v1.2.3