summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Db/StreamRequest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Db/StreamRequest.php b/lib/Db/StreamRequest.php
index 2c39fc12..a995deeb 100644
--- a/lib/Db/StreamRequest.php
+++ b/lib/Db/StreamRequest.php
@@ -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();