use addr for webfinger and name for the real name in the userinfo array

This commit is contained in:
Mario
2022-05-09 08:23:55 +00:00
parent 09d929bd56
commit ee3d6fcfee

View File

@@ -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'],
];
}