From: Claire Date: Fri, 28 Jan 2022 08:07:56 +0000 (+0100) Subject: Fix Sidekiq warning when pushing DMs to direct timeline X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=94a39f6b68e236993fe5b89a697b17c8535f6ea0;p=mastodon.git Fix Sidekiq warning when pushing DMs to direct timeline --- diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index 63597539e..46feec5aa 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -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