Make sure Delete reaches collection owner (#38399)

This commit is contained in:
David Roetzel authored and GitHub committed 2026-03-25 15:28:20 +00:00
1 parent e3dfb7ddd6
commit 2a4b205c75
2 files changed
+6 -2

No files matched your search

@@ -6,6 +6,7 @@ class RevokeCollectionItemService < BaseService
def call(collection_item)
@collection_item = collection_item
@account = collection_item.account
@collection = @collection_item.collection
@collection_item.revoke!
@@ -15,7 +16,8 @@ class RevokeCollectionItemService < BaseService
private
def distribute_stamp_deletion!
ActivityPub::AccountRawDistributionWorker.perform_async(signed_activity_json, @collection_item.collection.account_id)
ActivityPub::DeliveryWorker.perform_async(signed_activity_json, @account.id, @collection.account.inbox_url)
ActivityPub::AccountRawDistributionWorker.perform_async(signed_activity_json, @collection.account_id)
end
def signed_activity_json