5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 05:04:16 +00:00

fix: se pueden rechazar comentarios luego de aprobarlos #15600

This commit is contained in:
f 2024-03-20 17:49:09 -03:00
parent 28053b2a56
commit 0a1b86c111
No known key found for this signature in database

View file

@ -128,7 +128,7 @@ class ActivityPub < ApplicationRecord
# La actividad fue rechazada
event :reject do
transitions from: %i[paused], to: :rejected
transitions from: %i[paused approved], to: :rejected
after do
ActivityPub::InboxJob.perform_later(site: site, activity: activities.first.uri, action: :reject)