gearheads
/
mastodon
Archived
2
0
Fork 0

Fix ArgumentError when processing pinned posts from Friendica (#18260)

Follow-up to #18254
gh/stable
Claire 2022-05-02 19:34:39 +02:00 committed by GitHub
parent bc19c083ce
commit 0597e5db68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
return collection_or_uri if collection_or_uri.is_a?(Hash) return collection_or_uri if collection_or_uri.is_a?(Hash)
return if invalid_origin?(collection_or_uri) 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 end
def process_items(items) def process_items(items)