mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update AP Inbox
This commit is contained in:
parent
31fc65fc74
commit
aff488168b
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue