mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
Fix ArgumentError when processing pinned posts from Friendica (#18260)
Follow-up to #18254
This commit is contained in:
parent
bc19c083ce
commit
0597e5db68
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue