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) {
|
if(!$actor || $actor->domain == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($actor->followers_count == 0) {
|
||||||
|
if(FollowerService::followerCount($actor->id, true) == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(!isset($activity['to'])) {
|
if(!isset($activity['to'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue