Commit 352217c5 authored by Rob Colbert's avatar Rob Colbert

process_quote_service call made conditional

parent 0bd0d164
...@@ -68,8 +68,10 @@ class PostStatusService < BaseService ...@@ -68,8 +68,10 @@ class PostStatusService < BaseService
process_hashtags_service.call(@status) process_hashtags_service.call(@status)
process_mentions_service.call(@status) process_mentions_service.call(@status)
if @status.quote
process_quote_service.call(@status) process_quote_service.call(@status)
end end
end
def schedule_status! def schedule_status!
status_for_validation = @account.statuses.build(status_attributes) status_for_validation = @account.statuses.build(status_attributes)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment