diff --git a/include/api.php b/include/api.php index 556bc06227..4e5ea43bdb 100644 --- a/include/api.php +++ b/include/api.php @@ -243,6 +243,7 @@ 'location' => '', //$uinfo[0]['default-location'], 'profile_image_url' => $uinfo[0]['micro'], 'url' => $uinfo[0]['url'], + 'contact_url' => $a->get_baseurl()."/contacts/".$uinfo[0]['cid'], 'protected' => false, # 'friends_count' => $countfriends, 'created_at' => api_date($uinfo[0]['name-date']), diff --git a/view/api_timeline_atom.tpl b/view/api_timeline_atom.tpl index f9c70ebb5b..bd674f3302 100644 --- a/view/api_timeline_atom.tpl +++ b/view/api_timeline_atom.tpl @@ -32,7 +32,7 @@ http://activitystrea.ms/schema/1.0/person - $user.url + $user.contact_url $user.name @@ -100,7 +100,7 @@ http://activitystrea.ms/schema/1.0/person - $status.user.url + $status.user.contact_url $status.user.name