mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 13:56:21 +00:00
feat: crear el estado de moderación si no existe
This commit is contained in:
parent
f524724c0f
commit
aeb8f88493
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ module Api
|
||||||
|
|
||||||
a.save!
|
a.save!
|
||||||
|
|
||||||
|
site.actor_moderations.find_or_create_by(actor: a)
|
||||||
|
|
||||||
ActivityPub::ActorFetchJob.perform_later(site: site, actor: a)
|
ActivityPub::ActorFetchJob.perform_later(site: site, actor: a)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue