Fix Sidekiq warning when pushing DMs to direct timeline

th-downstream
Claire 3 years ago
parent daab277c0e
commit de596a03c0

@ -92,7 +92,7 @@ class FanOutOnWriteService < BaseService
def deliver_to_direct_timelines!
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

Loading…
Cancel
Save