kopia lustrzana https://github.com/pixelfed/pixelfed
Update AP Inbox
rodzic
31fc65fc74
commit
aff488168b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue