about summary refs log tree commit diff
path: root/app/services/process_feed_service.rb
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-05-31 14:38:17 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-31 20:38:17 +0200
commitb25e42a77f4b3472bc519e8a394b2cfe0e063e4c (patch)
tree7c541e3aab0268ffb9bbb7d4e2d97b91e413778c /app/services/process_feed_service.rb
parent5236a6286107f5731c5f57940592a46ebd3c6107 (diff)
Misc tidying and clean ups (#3445)
* Remove trailing whitespace in i18n mailers

* Use query methods instead of #present? on AR attributes

* Delegate Status#account_domain method

* Delegate Mention #account_username and #account_acct methods
Diffstat (limited to 'app/services/process_feed_service.rb')
-rw-r--r--app/services/process_feed_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index 87ed68f70..9402baf18 100644
--- a/app/services/process_feed_service.rb
+++ b/app/services/process_feed_service.rb
@@ -77,7 +77,7 @@ class ProcessFeedService < BaseService
 
       Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution"
 
-      LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text.present?
+      LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text?
       DistributionWorker.perform_async(status.id)
 
       status