mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 23:56:22 +00:00
fixup! fix: eliminar actores cuando no se pudo completar el objeto #15576
This commit is contained in:
parent
cfe70e3a89
commit
c57794b54e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue