mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-19 21:11:26 +00:00
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…
Reference in a new issue