Skip to content
Snippets Groups Projects
Commit 29996a7e authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix wrongful mentions breaking status update

parent 54ea7f5d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment