aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-04 21:27:38 -0800
committerFriendika <info@friendika.com>2011-03-04 21:27:38 -0800
commitfecef140d5181348e1f46cf8405f13bb05401b3e (patch)
treefc54ac2756f0c17977831ddafb694e5fd8d38570
parent216f038456cae1016e030b33cac79f8ed690e366 (diff)
downloadvolse-hubzilla-fecef140d5181348e1f46cf8405f13bb05401b3e.tar.gz
volse-hubzilla-fecef140d5181348e1f46cf8405f13bb05401b3e.tar.bz2
volse-hubzilla-fecef140d5181348e1f46cf8405f13bb05401b3e.zip
new item view: sparkle links not redirecting
-rw-r--r--mod/network.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 35eb0b325..65e6855a2 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -230,6 +230,8 @@ 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']);
+ $redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
+
if(strlen($item['author-link']) && link_compare($item['author-link'],$item['url'])
&& ($item['network'] === 'dfrn') && (! $item['self'])) {
$profile_link = $redirect_url;