Fix incorrect attribute being read while processing Collection items (#40052)

This commit is contained in:
Shlee authored and GitHub committed 2026-08-05 12:32:01 +00:00
1 parent 873ec3f1ab
commit f01507edcf
1 file changed
+1 -1
@@ -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!