mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02: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…
Add table
Reference in a new issue