|
|
@ -12,9 +12,10 @@ class ProcessMentionsService < BaseService
|
|
|
|
|
|
|
|
|
|
|
|
if mentioned_account.nil? && !domain.nil?
|
|
|
|
if mentioned_account.nil? && !domain.nil?
|
|
|
|
mentioned_account = follow_remote_account_service.("#{match.first}")
|
|
|
|
mentioned_account = follow_remote_account_service.("#{match.first}")
|
|
|
|
next if mentioned_account.nil?
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
next if mentioned_account.nil?
|
|
|
|
|
|
|
|
|
|
|
|
mentioned_account.mentions.where(status: status).first_or_create(status: status)
|
|
|
|
mentioned_account.mentions.where(status: status).first_or_create(status: status)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|