From 0597e5db68a4b43b69d3bfcb93d0b0042d91b17f Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 2 May 2022 19:34:39 +0200 Subject: [PATCH] Fix ArgumentError when processing pinned posts from Friendica (#18260) Follow-up to #18254 --- app/services/activitypub/fetch_featured_collection_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)