From: Claire Date: Mon, 2 May 2022 17:34:39 +0000 (+0200) Subject: Fix ArgumentError when processing pinned posts from Friendica (#18260) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=9f596e5f554c00f715d9644c44a3406e81af794f;p=mastodon.git Fix ArgumentError when processing pinned posts from Friendica (#18260) Follow-up to #18254 --- diff --git a/app/services/activitypub/fetch_featured_collection_service.rb b/app/services/activitypub/fetch_featured_collection_service.rb index e62470f70..37d05e055 100644 --- a/app/services/activitypub/fetch_featured_collection_service.rb +++ b/app/services/activitypub/fetch_featured_collection_service.rb @@ -32,7 +32,7 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService return collection_or_uri if collection_or_uri.is_a?(Hash) return if invalid_origin?(collection_or_uri) - fetch_resource_without_id_validation(collection_or_uri, nil, true, local_follower) + fetch_resource_without_id_validation(collection_or_uri, local_follower, true) end def process_items(items)