diff options
author | Friendika <info@friendika.com> | 2010-11-19 23:59:23 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-19 23:59:23 -0800 |
commit | d7b577e4552d83ace4e695313343402d7f402eec (patch) | |
tree | e42e99fd4be7c8637f5ba009c322f23987c6fd60 | |
parent | e4bbffe18c06c4c082416e24f75800c56db7693e (diff) | |
download | volse-hubzilla-d7b577e4552d83ace4e695313343402d7f402eec.tar.gz volse-hubzilla-d7b577e4552d83ace4e695313343402d7f402eec.tar.bz2 volse-hubzilla-d7b577e4552d83ace4e695313343402d7f402eec.zip |
bring back the sparkle
-rw-r--r-- | boot.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1386,10 +1386,10 @@ function like_puller($a,$item,&$arr,$mode) { if((activity_match($item['verb'],$verb)) && ($item['id'] != $item['parent'])) { $url = $item['author-link']; -// if(($item['network'] === 'dfrn') && (! $item['self'])) { -// $url = $a->get_baseurl() . '/redir/' . $item['contact-id']; -// $sparkle = ' class="sparkle" '; -// } + if(($item['network'] === 'dfrn') && (! $item['self']) && ($item['author-link'] == $item['url'])) { + $url = $a->get_baseurl() . '/redir/' . $item['contact-id']; + $sparkle = ' class="sparkle" '; + } if(! ((isset($arr[$item['parent'] . '-l'])) && (is_array($arr[$item['parent'] . '-l'])))) $arr[$item['parent'] . '-l'] = array(); if(! isset($arr[$item['parent']])) |