mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 02:26:23 +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 Delete < ActivityPub::Activity
|
||||
# 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!
|
||||
activity_pub.deleted!
|
||||
activity_pub.remove!
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue