diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/services/process_mentions_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb index 288f56be4..fb605326d 100644 --- a/app/services/process_mentions_service.rb +++ b/app/services/process_mentions_service.rb @@ -12,9 +12,10 @@ class ProcessMentionsService < BaseService if mentioned_account.nil? && !domain.nil? mentioned_account = follow_remote_account_service.("#{match.first}") - next if mentioned_account.nil? end + next if mentioned_account.nil? + mentioned_account.mentions.where(status: status).first_or_create(status: status) end |