Update AP Inbox

This commit is contained in:
Daniel Supernault 2022-12-24 05:48:47 -07:00
parent 31fc65fc74
commit aff488168b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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;
}