mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 15:06:22 +00:00
fix: se pueden rechazar comentarios luego de aprobarlos #15600
This commit is contained in:
parent
28053b2a56
commit
0a1b86c111
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class ActivityPub < ApplicationRecord
|
||||||
|
|
||||||
# La actividad fue rechazada
|
# La actividad fue rechazada
|
||||||
event :reject do
|
event :reject do
|
||||||
transitions from: %i[paused], to: :rejected
|
transitions from: %i[paused approved], to: :rejected
|
||||||
|
|
||||||
after do
|
after do
|
||||||
ActivityPub::InboxJob.perform_later(site: site, activity: activities.first.uri, action: :reject)
|
ActivityPub::InboxJob.perform_later(site: site, activity: activities.first.uri, action: :reject)
|
||||||
|
|
Loading…
Reference in a new issue