kopia lustrzana https://github.com/nextcloud/social
limit count to public post
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/529/head
rodzic
0358c15ff4
commit
a9e46125cc
|
@ -216,6 +216,7 @@ class StreamRequest extends StreamRequestBuilder {
|
||||||
$qb = $this->countNotesSelectSql();
|
$qb = $this->countNotesSelectSql();
|
||||||
$this->limitToAttributedTo($qb, $actorId);
|
$this->limitToAttributedTo($qb, $actorId);
|
||||||
$this->limitToType($qb, Note::TYPE);
|
$this->limitToType($qb, Note::TYPE);
|
||||||
|
$this->limitToRecipient($qb, ACore::CONTEXT_PUBLIC);
|
||||||
|
|
||||||
$cursor = $qb->execute();
|
$cursor = $qb->execute();
|
||||||
$data = $cursor->fetch();
|
$data = $cursor->fetch();
|
||||||
|
|
Ładowanie…
Reference in New Issue