From: Friendika Date: Tue, 15 Feb 2011 10:30:01 +0000 (-0800) Subject: bug #0000006, local sparkle links visible in "like" items when remote viewing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b14f67a86c17da457af4c2ede78aec49f673195;p=friendica.git bug #0000006, local sparkle links visible in "like" items when remote viewing --- diff --git a/boot.php b/boot.php index 5dc7518790..ede8459cb1 100644 --- a/boot.php +++ b/boot.php @@ -1804,7 +1804,7 @@ 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']) && ($item['author-link'] == $item['url'])) { + if((local_user()) && (local_user() == $item['uid']) && ($item['network'] === 'dfrn') && (! $item['self']) && (link_compare($item['author-link'],$item['url']))) { $url = $a->get_baseurl() . '/redir/' . $item['contact-id']; $sparkle = ' class="sparkle" '; }