From 6185c6e2a3d2dc9cfb062014c73ea636a9d040bf Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 14 Feb 2020 19:41:28 -0600 Subject: filter hidden & delayed posts from timelines until published --- app/workers/post_status_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/workers') diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb index 49f1a2c6f..56ebb4453 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 + unless status.local_only? || options[:distribute] == false || options[:federate] == false || status.hidden? ActivityPub::DistributionWorker.perform_async(status.id) end -- cgit