Replace "id = parent" checks with "gravity" checks
This commit is contained in:
parent
133de9b524
commit
973abb6196
13 changed files with 56 additions and 56 deletions
|
@ -1456,7 +1456,7 @@ function photos_content(App $a)
|
|||
|
||||
if (($activity->match($item['verb'], Activity::LIKE) ||
|
||||
$activity->match($item['verb'], Activity::DISLIKE)) &&
|
||||
($item['id'] != $item['parent'])) {
|
||||
($item['gravity'] != GRAVITY_PARENT)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue