mirror of
https://github.com/friendica/friendica
synced 2025-04-29 09:44:23 +02:00
Issue 6167: Don't publish non visible content
This commit is contained in:
parent
542e363a49
commit
4ff837488f
4 changed files with 3 additions and 8 deletions
|
@ -152,7 +152,7 @@ class Transmitter
|
|||
|
||||
$condition = ['uid' => 0, 'contact-id' => $public_contact, 'author-id' => $public_contact,
|
||||
'private' => false, 'gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT],
|
||||
'deleted' => false, 'visible' => true];
|
||||
'deleted' => false, 'visible' => true, 'moderated' => false];
|
||||
$count = DBA::count('item', $condition);
|
||||
|
||||
$data = ['@context' => ActivityPub::CONTEXT];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue