bring back the sparkle
This commit is contained in:
parent
e4bbffe18c
commit
d7b577e455
1 changed files with 4 additions and 4 deletions
8
boot.php
8
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']]))
|
||||
|
|
Loading…
Reference in a new issue