View Source Bonfire.Federate.ActivityPub.Adapter (bonfire v0.3.0-classic-beta.4)

Adapter functions delegated from the ActivityPub Library

Link to this section Summary

Link to this section Functions

Callback implementation for ActivityPub.Adapter.base_url/0.

Link to this function

get_actor_by_ap_id(ap_id)

View Source

Callback implementation for ActivityPub.Adapter.get_actor_by_id/1.

Link to this function

get_actor_by_username(username)

View Source

Callback implementation for ActivityPub.Adapter.get_actor_by_username/1.

Link to this function

get_follower_local_ids(actor)

View Source

Callback implementation for ActivityPub.Adapter.get_follower_local_ids/1.

Link to this function

get_following_local_ids(actor)

View Source

Callback implementation for ActivityPub.Adapter.get_following_local_ids/1.

Link to this function

get_redirect_url(id_or_username_or_object)

View Source

Callback implementation for ActivityPub.Adapter.get_redirect_url/1.

Link to this function

handle_activity(activity)

View Source

Queue-up incoming activities to be processed by Bonfire.Federate.ActivityPub.APReceiverWorker

Link to this function

maybe_create_remote_actor(actor)

View Source

Callback implementation for ActivityPub.Adapter.maybe_create_remote_actor/1.

Link to this function

maybe_publish_object(pointer_id)

View Source

Callback implementation for ActivityPub.Adapter.maybe_publish_object/1.

Link to this function

redirect_to_actor(username)

View Source
Link to this function

update_local_actor(actor, params)

View Source

Callback implementation for ActivityPub.Adapter.update_local_actor/2.

Link to this function

update_local_actor_cache(character)

View Source

For updating an Actor in cache after a User/etc is updated

Link to this function

update_remote_actor(actor_object)

View Source

Callback implementation for ActivityPub.Adapter.update_remote_actor/1.