diff options
author | Mario <mario@mariovavti.com> | 2022-05-09 08:23:55 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-05-09 08:23:55 +0000 |
commit | ee3d6fcfee574ac9f1dcbc0d55c296fc4d5c06ac (patch) | |
tree | d69581c51d6273fbc1aef24514c5ce504e6e5694 /include | |
parent | 09d929bd56df8adda04d6cc95b76ea9be7c9b861 (diff) | |
download | volse-hubzilla-ee3d6fcfee574ac9f1dcbc0d55c296fc4d5c06ac.tar.gz volse-hubzilla-ee3d6fcfee574ac9f1dcbc0d55c296fc4d5c06ac.tar.bz2 volse-hubzilla-ee3d6fcfee574ac9f1dcbc0d55c296fc4d5c06ac.zip |
use addr for webfinger and name for the real name in the userinfo array
Diffstat (limited to 'include')
-rw-r--r-- | include/nav.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'], ]; } |