diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-02 19:34:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 19:34:39 +0200 |
commit | 0597e5db68a4b43b69d3bfcb93d0b0042d91b17f (patch) | |
tree | eb88716470b99fdeb3f670a0b90961396dcc4939 /app/services/activitypub | |
parent | bc19c083cef6f66d28528d79548cf692fa8a2ca6 (diff) |
Fix ArgumentError when processing pinned posts from Friendica (#18260)
Follow-up to #18254
Diffstat (limited to 'app/services/activitypub')
-rw-r--r-- | app/services/activitypub/fetch_featured_collection_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |