Generate update notification for quoting users when a quoted post is edited

This commit is contained in:
Claire 2025-08-19 11:15:54 +02:00
parent 421dbf9a7f
commit 87fb287d61

View File

@ -99,6 +99,12 @@ class FanOutOnWriteService < BaseService
[account.id, @status.id, 'Status', 'update']
end
end
@status.quotes.accepted.find_in_batches do |quotes|
LocalNotificationWorker.push_bulk(quotes) do |quote|
[quote.account_id, quote.status_id, 'Status', 'update']
end
end
end
def deliver_to_all_followers!