diff --git a/lib/Model/ActivityPub/ACore.php b/lib/Model/ActivityPub/ACore.php index 27c43ae7..42b978bc 100644 --- a/lib/Model/ActivityPub/ACore.php +++ b/lib/Model/ActivityPub/ACore.php @@ -227,7 +227,8 @@ class ACore extends Item implements JsonSerializable { */ public function isPublic(): bool { return ($this->getTo() === self::CONTEXT_PUBLIC - || in_array(self::CONTEXT_PUBLIC, $this->getCcArray())); + || in_array(self::CONTEXT_PUBLIC, $this->getCcArray()) + || in_array(self::CONTEXT_PUBLIC, $this->getToArray())); }