1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

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