5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-27 19:36:23 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-19 16:17:19 +00:00
commit cd8f4ad42a

View file

@ -30,7 +30,9 @@ class ActivityPub
current_type = object.type current_type = object.type
content = FastJsonparser.parse(response.body) content = FastJsonparser.parse(response.body)
object.lock.update!(content: content, type: ActivityPub::Object.type_from(content).name) object.with_lock do
object.update!(content: content, type: ActivityPub::Object.type_from(content).name)
end
object = ::ActivityPub::Object.find(object_id) object = ::ActivityPub::Object.find(object_id)
# Actualiza la mención # Actualiza la mención