Module notedealer::activitypub::activity_broker
source · [−]Expand description
Saves ActivityPub objects into the database or sends them to remote servers.
Enums
Represents an issue with the values in an Activity during the receive or
delivery of it.
Represents an issue while attempting to dereference an object
(
deref_obj).Functions
Dereferences the inboxes and queues up deliveries of the given activity to
them for
inbox_queue.If the given
ObjectOrLink is an object, returns that, otherwise attempts
to fetch the object from the database, falling back to fetching it from its
origin server, and returns that.Recursively dereferences objects included in each of the
ObjectsOrLinks
using deref_obj.Adds the activity to the database, and applies any side effects it has.
Called from both
http_api::users::post_inbox and
http_api::users::post_outbox.If obj_or_link is an Object, returns it and leaves a Link in its place.