From bc201505d02e94259f9d48d2b0341fc704af781e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 16 Feb 2020 01:53:56 -0600 Subject: check use `hidden` instead of `hidden?` --- app/workers/post_status_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/workers/post_status_worker.rb') 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 -- cgit