aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolivierm <olivier@migeot.org>2011-03-03 10:09:48 +0100
committerolivierm <olivier@migeot.org>2011-03-03 10:09:48 +0100
commit07ebc15612807512422ba84060914c5c4c853102 (patch)
treeae5300c19c917a6204ba15aebea231e356799ef9
parent593d7037c581b2274f43735f36b88a488e0ba067 (diff)
parentbfdf4bddc984838bc1bccccfe1c2b7ddebe43e92 (diff)
downloadvolse-hubzilla-07ebc15612807512422ba84060914c5c4c853102.tar.gz
volse-hubzilla-07ebc15612807512422ba84060914c5c4c853102.tar.bz2
volse-hubzilla-07ebc15612807512422ba84060914c5c4c853102.zip
Merge commit 'mike/master'
-rw-r--r--mod/network.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 8ac51cee3..35eb0b325 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']) ? '<a target="map" href="http://maps.google.com/?q=' . urlencode($item['location']) . '">' . $item['location'] . '</a>' : '');
$coord = (($item['coord']) ? '<a target="map" href="http://maps.google.com/?q=' . urlencode($item['coord']) . '">' . $item['coord'] . '</a>' : '');