5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-11 22:16:56 +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-13 20:03:29 +00:00
commit 5065188bac

View file

@ -13,6 +13,7 @@ class ActivityPub
# lo haría la Social Inbox por nosotres.
# @see {https://docs.joinmastodon.org/spec/security/#ld}
def update_activity_pub_state!
ActiveRecord::Base.connection_pool.with_connection do
ActivityPub.transaction do
object = ActivityPub::Object.find_by(uri: ActivityPub.uri_from_object(content['object']))
@ -33,4 +34,5 @@ class ActivityPub
end
end
end
end
end