diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-09-20 23:49:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 23:49:00 +0200 |
commit | 7b38cb88caa46a47eb7b18f2211ef768923568aa (patch) | |
tree | f077a2636016e332a0e6760cfdc667999a496eb7 /app/services | |
parent | 1145dbd327ae9b56357cc488801d723051f58e0b (diff) |
Fix ProcessMentionService swallowing unprocessed mentions to unconfirmed/unapproved users (#19191)
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/process_mentions_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb index 8c63b611d..c9c158af1 100644 --- a/app/services/process_mentions_service.rb +++ b/app/services/process_mentions_service.rb @@ -38,7 +38,7 @@ class ProcessMentionsService < BaseService mentioned_account = Account.find_remote(username, domain) # Unapproved and unconfirmed accounts should not be mentionable - next if mentioned_account&.local? && !(mentioned_account.user_confirmed? && mentioned_account.user_approved?) + next match if mentioned_account&.local? && !(mentioned_account.user_confirmed? && mentioned_account.user_approved?) # If the account cannot be found or isn't the right protocol, # first try to resolve it |