]> git.mxchange.org Git - friendica.git/commitdiff
bring back the sparkle
authorFriendika <info@friendika.com>
Sat, 20 Nov 2010 07:59:23 +0000 (23:59 -0800)
committerFriendika <info@friendika.com>
Sat, 20 Nov 2010 07:59:23 +0000 (23:59 -0800)
boot.php

index 6869876721ca912e7a2a217492e3313e80cef46b..cdb1b35edb8d2bdec0d0f080cd401055cba7d07b 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -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']]))