mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 12:36:21 +00:00
fix: al actualizar un objeto, pausar la actividad
This commit is contained in:
parent
88e93e3b5b
commit
8ff556c9ed
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
# frozen_string_literal: true
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue