mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Do not process outgoing mentions to suspended accounts (#8272)
This commit is contained in:
@@ -25,7 +25,7 @@ class ProcessMentionsService < BaseService
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user