mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-12 06:08:20 -05:00
Merge 0cd56041f6 into 20c105c194
This commit is contained in:
@@ -18,9 +18,6 @@ class ActivityPub::FetchRemoteFeaturedCollectionService < BaseService
|
||||
account = Account.find_by(uri: json['attributedTo'])
|
||||
return unless account
|
||||
|
||||
existing_collection = account.collections.find_by(uri:)
|
||||
return existing_collection if existing_collection.present?
|
||||
|
||||
ActivityPub::ProcessFeaturedCollectionService.new.call(account, json, request_id:)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user