diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-17 20:05:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 20:05:21 +0200 |
commit | 484208ce12402d8b82070038d9be8441b82f86e7 (patch) | |
tree | dfbd236898bd2a480e0df2d263140ec1999f22f7 /app/lib/ostatus/activity/creation.rb | |
parent | 3bc8924940ac37b1efa458e160e51f4f0e328d6b (diff) |
When status is fetched instead of delivered, do not stream it (#5437)
Diffstat (limited to 'app/lib/ostatus/activity/creation.rb')
-rw-r--r-- | app/lib/ostatus/activity/creation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/ostatus/activity/creation.rb b/app/lib/ostatus/activity/creation.rb index a1ab522e2..3418e2420 100644 --- a/app/lib/ostatus/activity/creation.rb +++ b/app/lib/ostatus/activity/creation.rb @@ -56,7 +56,7 @@ class OStatus::Activity::Creation < OStatus::Activity::Base Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution" LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text? - DistributionWorker.perform_async(status.id) + DistributionWorker.perform_async(status.id) if @options[:override_timestamps] status end |