2
0

Add quoted_update notification type (#35820)

This commit is contained in:
Claire
2025-08-25 17:44:18 +02:00
committed by GitHub
parent 7aba79ade9
commit f3a932d8a1
12 changed files with 117 additions and 6 deletions

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', 'quoted_update']
end
end
end
def deliver_to_all_followers!