This commit is contained in:
friendica 2011-12-18 00:22:44 -08:00
parent b0718c4f05
commit 3aab1c7140

View file

@ -129,6 +129,7 @@ function poco_init(&$a) {
$entry['urls'] = array(array('value' => $rr['url'], 'type' => 'profile'));
if($rr['addr'] && ($rr['network'] !== NETWORK_MAIL))
$entry['urls'][] = array('value' => 'acct:' . $rr['addr'], 'type' => 'webfinger');
}
if($fields_ret['preferredUsername'])
$entry['preferredUsername'] = $rr['nick'];
if($fields_ret['photos'])