forked from mirror/pixelfed
commit
3c7826059f
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…
Add table
Reference in a new issue