Compare commits

...

1 commit

Author SHA1 Message Date
nightpool
8eadd119a3
Don't count a delivery as successful if the response is not tracked by Stoplight 2022-12-14 15:01:22 -05:00

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