mirror of
https://github.com/mastodon/mastodon.git
synced 2025-10-05 16:42:47 +00:00
Generate update
notification for quoting users when a quoted post is edited
This commit is contained in:
parent
421dbf9a7f
commit
87fb287d61
|
@ -99,6 +99,12 @@ class FanOutOnWriteService < BaseService
|
||||||
[account.id, @status.id, 'Status', 'update']
|
[account.id, @status.id, 'Status', 'update']
|
||||||
end
|
end
|
||||||
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
|
end
|
||||||
|
|
||||||
def deliver_to_all_followers!
|
def deliver_to_all_followers!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user