5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 19:26:21 +00:00

fixup! fix: eliminar actores cuando no se pudo completar el objeto #15576

This commit is contained in:
f 2024-03-14 11:58:13 -03:00
parent cfe70e3a89
commit c57794b54e
No known key found for this signature in database

View file

@ -24,7 +24,7 @@ class ActivityPub
# Encontrar todas las acciones de moderación de le actore
# eliminade y moverlas a eliminar.
if (actor = ActivityPub::Actor.find_by(uri: o.uri)).present?
if (actor = ActivityPub::Actor.find_by(uri: object.uri)).present?
ActorModeration.where(actor_id: actor.id).remove_all!
end
end