This commit is contained in:
friendica 2011-12-18 00:21:01 -08:00
parent 978717a247
commit b0718c4f05
1 changed files with 1 additions and 1 deletions

View File

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