From: Friendika Date: Thu, 3 Mar 2011 00:19:38 +0000 (-0800) Subject: "New Item View" had no magic sparkle links X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bfdf4bddc984838bc1bccccfe1c2b7ddebe43e92;p=friendica.git "New Item View" had no magic sparkle links --- diff --git a/mod/network.php b/mod/network.php index 8ac51cee36..35eb0b3257 100644 --- a/mod/network.php +++ b/mod/network.php @@ -230,6 +230,11 @@ function network_content(&$a, $update = 0) { $profile_avatar = ((strlen($item['author-avatar'])) ? $item['author-avatar'] : $item['thumb']); $profile_link = ((strlen($item['author-link'])) ? $item['author-link'] : $item['url']); + if(strlen($item['author-link']) && link_compare($item['author-link'],$item['url']) + && ($item['network'] === 'dfrn') && (! $item['self'])) { + $profile_link = $redirect_url; + $sparkle = ' sparkle'; + } $location = (($item['location']) ? '' . $item['location'] . '' : ''); $coord = (($item['coord']) ? '' . $item['coord'] . '' : '');