aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-15 02:30:01 -0800
committerFriendika <info@friendika.com>2011-02-15 02:30:01 -0800
commit1b14f67a86c17da457af4c2ede78aec49f673195 (patch)
tree5c36674abc700bf3b590c6b408e8ea3d93cf68ff
parent0e7b09b41c6df5944dfe65ee047f74227c294e26 (diff)
downloadvolse-hubzilla-1b14f67a86c17da457af4c2ede78aec49f673195.tar.gz
volse-hubzilla-1b14f67a86c17da457af4c2ede78aec49f673195.tar.bz2
volse-hubzilla-1b14f67a86c17da457af4c2ede78aec49f673195.zip
bug #0000006, local sparkle links visible in "like" items when remote viewing
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 5dc751879..ede8459cb 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" ';
}