Change delivery failure tracking to work with hostnames instead of URLs (#13437)
This commit is contained in:
@ -12,7 +12,7 @@ class ActivityPub::DeliveryWorker
|
||||
HEADERS = { 'Content-Type' => 'application/activity+json' }.freeze
|
||||
|
||||
def perform(json, source_account_id, inbox_url, options = {})
|
||||
return if DeliveryFailureTracker.unavailable?(inbox_url)
|
||||
return unless DeliveryFailureTracker.available?(inbox_url)
|
||||
|
||||
@options = options.with_indifferent_access
|
||||
@json = json
|
||||
|
Reference in New Issue
Block a user