mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Do not process outgoing mentions to suspended accounts (#8272)
This commit is contained in:
parent
7a0f781aa9
commit
abc5548cca
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue