Skip to content
Extraits de code Groupes Projets
Valider 2bcc8170 rédigé par abcang's avatar abcang Validation de Eugen Rochko
Parcourir les fichiers

Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)

parent 53e95c4e
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -18,7 +18,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService
actor = ActivityPub::TagManager.instance.uri_to_resource(actor_id, Account)
actor = ActivityPub::FetchRemoteAccountService.new.call(actor_id, id: true) if actor.nil? || needs_update(actor)
return if actor.suspended?
return if actor.nil? || actor.suspended?
ActivityPub::Activity.factory(activity_json, actor).perform
end
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter