Don't count a delivery as successful if the response is not tracked by Stoplight

This commit is contained in:
nightpool 2022-12-14 15:01:22 -05:00 committed by GitHub
parent 78ef635980
commit 8eadd119a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ class ActivityPub::DeliveryWorker
build_request(http_client).perform do |response|
raise Mastodon::UnexpectedResponseError, response unless response_successful?(response) || response_error_unsalvageable?(response)
@performed = true
@performed = response_successful?(response)
end
end
end