mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 04:26:21 +00:00
fix: las actividades de borrado eliminan el contenido también
This commit is contained in:
parent
dca266714d
commit
2ae2b8e9e8
1 changed files with 2 additions and 2 deletions
|
@ -4,9 +4,9 @@ class ActivityPub
|
||||||
class Activity
|
class Activity
|
||||||
class Delete < ActivityPub::Activity
|
class Delete < ActivityPub::Activity
|
||||||
# Si estamos eliminando el objeto, tenemos que vaciar su contenido y
|
# Si estamos eliminando el objeto, tenemos que vaciar su contenido y
|
||||||
# cambiar el estado a borrado
|
# cambiar el estado a borrado.
|
||||||
def update_activity_pub_state!
|
def update_activity_pub_state!
|
||||||
activity_pub.deleted!
|
activity_pub.remove!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue