Fix casuality of processing remote mentions such that notifications
about them would be processed only after the entire status is processed
This commit is contained in:
parent
47bf592db7
commit
a5daa806f2
2 changed files with 16 additions and 6 deletions
|
@ -27,7 +27,7 @@ class ProcessMentionsService < BaseService
|
|||
mentioned_account.mentions.where(status: status).first_or_create(status: status)
|
||||
end
|
||||
|
||||
status.mentions.each do |mention|
|
||||
status.mentions.includes(:account).each do |mention|
|
||||
mentioned_account = mention.account
|
||||
|
||||
if mentioned_account.local?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue