mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-08 08:44:27 +00:00
Don't count a delivery as successful if the response is not tracked by Stoplight
This commit is contained in:
parent
78ef635980
commit
8eadd119a3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue