Merge pull request #4006 from pixelfed/staging

Update AP Inbox
This commit is contained in:
daniel 2022-12-24 05:49:40 -07:00 committed by GitHub
commit 3c7826059f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,6 +191,13 @@ class Inbox
if(!$actor || $actor->domain == null) {
return;
}
if($actor->followers_count == 0) {
if(FollowerService::followerCount($actor->id, true) == 0) {
return;
}
}
if(!isset($activity['to'])) {
return;
}