Quellcode durchsuchen

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

Daniel Supernault vor 2 Jahren
Ursprung
Commit
a93a3efd21
1 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  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;
 		}