Jelajahi Sumber

Merge pull request #1573 from pixelfed/frontend-ui-refactor

Update AP job
daniel 6 tahun lalu
induk
melakukan
982a7e1956
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Jobs/StatusPipeline/StatusActivityPubDeliver.php

+ 1 - 1
app/Jobs/StatusPipeline/StatusActivityPubDeliver.php

@@ -57,7 +57,7 @@ class StatusActivityPubDeliver implements ShouldQueue
 
         $audience = $status->profile->getAudienceInbox();
 
-        if(empty($audience) || !in_array($status->scope, ['public', 'unlisted', 'private']) {
+        if(empty($audience) || !in_array($status->scope, ['public', 'unlisted', 'private'])) {
             // Return on profiles with no remote followers
             return;
         }