mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 08:48:06 +01:00
Fix Sidekiq warning when pushing DMs to direct timeline
This commit is contained in:
parent
b2915613fb
commit
94a39f6b68
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class FanOutOnWriteService < BaseService
|
||||||
|
|
||||||
def deliver_to_direct_timelines!
|
def deliver_to_direct_timelines!
|
||||||
FeedInsertWorker.push_bulk(@status.mentions.includes(:account).map(&:account).select { |mentioned_account| mentioned_account.local? }) do |account|
|
FeedInsertWorker.push_bulk(@status.mentions.includes(:account).map(&:account).select { |mentioned_account| mentioned_account.local? }) do |account|
|
||||||
[@status.id, account.id, :direct, update: update?]
|
[@status.id, account.id, 'direct', { 'update' => update? }]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue