diff --git a/app/services/activitypub/fetch_references_service.rb b/app/services/activitypub/fetch_references_service.rb index 0c71af58fd..8f3fce5f22 100644 --- a/app/services/activitypub/fetch_references_service.rb +++ b/app/services/activitypub/fetch_references_service.rb @@ -39,11 +39,11 @@ class ActivityPub::FetchReferencesService < BaseService # # Therefore, retry with correct signatures if this fails. begin - fetch_resource_without_id_validation(collection_or_uri, nil, true) + fetch_resource_without_id_validation(collection_or_uri, nil) rescue Mastodon::UnexpectedResponseError => e raise unless e.response && e.response.code == 401 && Addressable::URI.parse(collection_or_uri).query.present? - fetch_resource_without_id_validation(collection_or_uri, nil, true, request_options: { with_query_string: true }) + fetch_resource_without_id_validation(collection_or_uri, nil, request_options: { with_query_string: true }) end end end