diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-21 12:00:52 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-21 12:00:52 +0200 |
commit | 655f5c7b9fe138de5566047e79ada034647fd6f2 (patch) | |
tree | 19fbf7b7b20e6facb848720f649082c95ec57f23 /include | |
parent | 7cd7a79807c766da0ac39192559081f771b58a1d (diff) | |
download | volse-hubzilla-655f5c7b9fe138de5566047e79ada034647fd6f2.tar.gz volse-hubzilla-655f5c7b9fe138de5566047e79ada034647fd6f2.tar.bz2 volse-hubzilla-655f5c7b9fe138de5566047e79ada034647fd6f2.zip |
use "contacts/<id_contact>" url as subject id, as statusnet and twitter use urls like "domain/<id_user>".
This seem to make StatusNet Desktop client work better.
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/api.php b/include/api.php index 556bc0622..4e5ea43bd 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']), |