more tweaks #13

This commit is contained in:
Friendika 2011-03-06 19:48:46 -08:00
parent 26c4054652
commit 58eba782cf

View File

@ -234,7 +234,7 @@ function network_content(&$a, $update = 0) {
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
if(strlen($item['author-link'])) {
if(($item['network'] === 'dfrn') && (! $item['self'])) {
if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) {
$profile_link = $redirect_url;
$sparkle = ' sparkle';
}
@ -381,7 +381,7 @@ function network_content(&$a, $update = 0) {
if(strlen($item['author-link'])) {
$profile_link = $item['author-link'];
if(($item['network'] === 'dfrn') && (! $item['self'])) {
if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) {
$profile_link = $redirect_url;
$sparkle = ' sparkle';
}