kopia lustrzana https://github.com/nextcloud/social
Merge pull request #529 from nextcloud/bugfix/500/limit-to-public
limit count to public postpull/532/head
commit
028aa53a1f
|
@ -216,6 +216,7 @@ class StreamRequest extends StreamRequestBuilder {
|
|||
$qb = $this->countNotesSelectSql();
|
||||
$this->limitToAttributedTo($qb, $actorId);
|
||||
$this->limitToType($qb, Note::TYPE);
|
||||
$this->limitToRecipient($qb, ACore::CONTEXT_PUBLIC);
|
||||
|
||||
$cursor = $qb->execute();
|
||||
$data = $cursor->fetch();
|
||||
|
|
Ładowanie…
Reference in New Issue