Fix handling of temporary failures in ProcessMentionsService (#5842)
* Add test for temporary account resolving failures in ProcessMentionsService * Fix processing of mentions to already-known remote accounts on temporary failures
This commit is contained in:
@ -18,7 +18,7 @@ class ProcessMentionsService < BaseService
|
||||
end
|
||||
|
||||
if mentioned_account.nil?
|
||||
username, domain = match.first.split('@')
|
||||
username, domain = $1.split('@')
|
||||
mentioned_account = Account.find_remote(username, domain)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user