mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-27 07:36:43 -05:00
Fix incorrect attribute being read while processing Collection items (#40052)
This commit is contained in:
@@ -70,7 +70,7 @@ class ActivityPub::ProcessFeaturedItemService
|
||||
return false if Account.exists?(uri: @actor_uri)
|
||||
|
||||
object_json = fetch_resource(@actor_uri, true, raise_on_error: :temporary)
|
||||
object_json.nil? || (as_array(object_json['fetch']) & ActivityPub::FetchRemoteActorService::SUPPORTED_TYPES).empty?
|
||||
object_json.nil? || (as_array(object_json['type']) & ActivityPub::FetchRemoteActorService::SUPPORTED_TYPES).empty?
|
||||
end
|
||||
|
||||
def verify_authorization!
|
||||
|
||||
Reference in New Issue
Block a user