process_quote_service call made conditional
This commit is contained in:
parent
0bd0d164d4
commit
352217c5b4
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue