Skip to content
Extraits de code Groupes Projets
Valider abc5548c rédigé par ThibG's avatar ThibG Validation de Eugen Rochko
Parcourir les fichiers

Do not process outgoing mentions to suspended accounts (#8272)

parent 7a0f781a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -25,7 +25,7 @@ class ProcessMentionsService < BaseService ...@@ -25,7 +25,7 @@ class ProcessMentionsService < BaseService
end end
end end
next match if mention_undeliverable?(mentioned_account) next match if mention_undeliverable?(mentioned_account) || mentioned_account&.suspended
mentions << mentioned_account.mentions.where(status: status).first_or_create(status: status) mentions << mentioned_account.mentions.where(status: status).first_or_create(status: status)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter