diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-14 19:41:28 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-14 19:41:28 -0600 |
commit | 6185c6e2a3d2dc9cfb062014c73ea636a9d040bf (patch) | |
tree | 62fdadea422452f1b509e205f144b119c7cc397c /app/workers | |
parent | 338827514997331e7c21d1ac6a033920a8215a97 (diff) |
filter hidden & delayed posts from timelines until published
Diffstat (limited to 'app/workers')
-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 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 |