process_quote_service call made conditional

This commit is contained in:
Rob Colbert 2019-08-13 02:16:01 -04:00
parent 0bd0d164d4
commit 352217c5b4

View File

@ -68,8 +68,10 @@ class PostStatusService < BaseService
process_hashtags_service.call(@status)
process_mentions_service.call(@status)
if @status.quote
process_quote_service.call(@status)
end
end
def schedule_status!
status_for_validation = @account.statuses.build(status_attributes)