diff options
author | Friendika <info@friendika.com> | 2011-02-15 02:30:01 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-15 02:30:01 -0800 |
commit | 1b14f67a86c17da457af4c2ede78aec49f673195 (patch) | |
tree | 5c36674abc700bf3b590c6b408e8ea3d93cf68ff | |
parent | 0e7b09b41c6df5944dfe65ee047f74227c294e26 (diff) | |
download | volse-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" '; } |