mirror of
https://github.com/friendica/friendica
synced 2025-04-23 21:10:12 +00:00
Remove explicit block filtering for results that go through selectViewForUser
This commit is contained in:
parent
a4515daca4
commit
e3bfb39e91
3 changed files with 0 additions and 19 deletions
|
@ -90,11 +90,6 @@ class PublicTimeline extends BaseApi
|
|||
$condition = DBA::mergeConditions($condition, ['gravity' => Item::GRAVITY_PARENT]);
|
||||
}
|
||||
|
||||
if (!empty($uid)) {
|
||||
$condition = DBA::mergeConditions($condition,
|
||||
["NOT `parent-author-id` IN (SELECT `cid` FROM `user-contact` WHERE `uid` = ? AND (`blocked` OR `ignored`) AND `cid` = `parent-author-id`)", $uid]);
|
||||
}
|
||||
|
||||
$items = Post::selectPostsForUser($uid, ['uri-id'], $condition, $params);
|
||||
|
||||
$display_quotes = self::appSupportsQuotes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue