diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-17 00:41:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 00:41:15 +0200 |
commit | 1efda1c4535d453b3f9e71c61a225d7cc0d7e75f (patch) | |
tree | fcb0c558381c690ae574eab7634efd2416767853 /app/services/process_feed_service.rb | |
parent | a51c8074dfced016d967b062132d9d8213daf543 (diff) |
Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
Diffstat (limited to 'app/services/process_feed_service.rb')
-rw-r--r-- | app/services/process_feed_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index c573c0490..04d6a100f 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -69,8 +69,12 @@ class ProcessFeedService < BaseService notify_about_mentions!(status) unless status.reblog? notify_about_reblog!(status) if status.reblog? && status.reblog.account.local? + Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution" + + LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text.present? DistributionWorker.perform_async(status.id) + status end |