diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-01-28 09:07:56 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-01-28 09:07:56 +0100 |
commit | 94a39f6b68e236993fe5b89a697b17c8535f6ea0 (patch) | |
tree | 60586262894c6aadf5722a53ce560c9b05c3e974 /app | |
parent | b2915613fb247597d3de2f80c2c007b3369ac5bb (diff) |
Fix Sidekiq warning when pushing DMs to direct timeline
Diffstat (limited to 'app')
-rw-r--r-- | app/services/fan_out_on_write_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |