diff options
-rw-r--r-- | app/workers/post_status_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb index 9d9bb93db..e4a29d1bd 100644 --- a/app/workers/post_status_worker.rb +++ b/app/workers/post_status_worker.rb @@ -13,7 +13,7 @@ class PostStatusWorker LinkCrawlWorker.perform_async(status.id) unless options[:nocrawl] || status.spoiler_text.present? DistributionWorker.perform_async(status.id) unless options[:distribute] == false - unless status.local_only? || options[:distribute] == false || options[:federate] == false || status.hidden? + unless status.local_only? || options[:distribute] == false || options[:federate] == false || status.hidden ActivityPub::DistributionWorker.perform_async(status.id) end |