Selaa lähdekoodia

Update Inbox, remove handleCreateActivity logic that rejected posts from accounts without followers

Daniel Supernault 2 vuotta sitten
vanhempi
commit
a93a3efd21
1 muutettua tiedostoa jossa 0 lisäystä ja 6 poistoa
  1. 0 6
      app/Util/ActivityPub/Inbox.php

+ 0 - 6
app/Util/ActivityPub/Inbox.php

@@ -199,12 +199,6 @@ class Inbox
 			return;
 		}
 
-		if($actor->followers_count == 0) {
-			if(FollowerService::followerCount($actor->id, true) == 0) {
-				return;
-			}
-		}
-
 		if(!isset($activity['to'])) {
 			return;
 		}