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

fix: al actualizar un objeto, pausar la actividad

This commit is contained in:
f 2024-02-20 17:16:08 -03:00
parent 88e93e3b5b
commit 8ff556c9ed
No known key found for this signature in database

View file

@ -1,3 +1,9 @@
# frozen_string_literal: true
class ActivityPub::Activity::Update < ActivityPub::Activity; end
class ActivityPub::Activity::Update < ActivityPub::Activity
# Si estamos actualizando el objeto, tenemos que devolverlo a estado
# de moderación
def update_activity_pub_state!
activity_pub.paused!
end
end