mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Some small fixes
This commit is contained in:
parent
a10f55bb85
commit
884a265c5a
7 changed files with 37 additions and 18 deletions
|
@ -58,7 +58,7 @@ class PublicTimeline extends BaseApi
|
|||
$params = ['order' => ['uri-id' => true], 'limit' => $request['limit']];
|
||||
|
||||
$condition = ['gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT], 'private' => Item::PUBLIC,
|
||||
'network' => Protocol::FEDERATED, 'parent-author-blocked' => false, 'parent-author-hidden' => false];
|
||||
'network' => Protocol::FEDERATED, 'author-blocked' => false, 'author-hidden' => false];
|
||||
|
||||
if ($request['local']) {
|
||||
$condition = DBA::mergeConditions($condition, ["`uri-id` IN (SELECT `uri-id` FROM `post-user` WHERE `origin`)"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue