Merge pull request #10315 from annando/issue-10219

Issue 10219: Don't display follow activities
This commit is contained in:
Hypolite Petovan 2021-05-24 14:19:33 -04:00 committed by GitHub
commit 87c1533516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1275,7 +1275,7 @@ function photos_content(App $a)
}
if (!empty($link_item['parent']) && !empty($link_item['uid'])) {
$condition = ["`parent` = ? AND `gravity` != ?", $link_item['parent'], GRAVITY_PARENT];
$condition = ["`parent` = ? AND `gravity` = ?", $link_item['parent'], GRAVITY_COMMENT];
$total = Post::count($condition);
$pager = new Pager(DI::l10n(), DI::args()->getQueryString());