Merge commit 'a485f97d21c3fb7da927e8fd239b301a590ee9b8' into glitch-soc/merge-upstream
This commit is contained in:
commit
e68de292b4
46 files changed
+945
-100
No files matched your search
@@ -8,11 +8,18 @@ class RevokeQuoteService < BaseService
|
||||
@account = quote.quoted_account
|
||||
|
||||
@quote.reject!
|
||||
distribute_update!
|
||||
distribute_stamp_deletion!
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def distribute_update!
|
||||
return if @quote.status_id.nil?
|
||||
|
||||
DistributionWorker.perform_async(@quote.status_id, { 'update' => true })
|
||||
end
|
||||
|
||||
def distribute_stamp_deletion!
|
||||
ActivityPub::DeliveryWorker.push_bulk(inboxes, limit: 1_000) do |inbox_url|
|
||||
[signed_activity_json, @account.id, inbox_url]
|
||||
|
||||
Reference in new issue
Block a user