From d7b577e4552d83ace4e695313343402d7f402eec Mon Sep 17 00:00:00 2001
From: Friendika <info@friendika.com>
Date: Fri, 19 Nov 2010 23:59:23 -0800
Subject: [PATCH] bring back the sparkle

---
 boot.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/boot.php b/boot.php
index 6869876721..cdb1b35edb 100644
--- 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']]))