View Source ActivityPub.Utils (Bonfire v0.9.11-social-beta.6)
Misc functions used for federation
Summary
Functions
Takes a string and returns true if it is a valid UUID (Universally Unique Identifier)
conditionally update a map
Handles multiple cases where the input value is of a different type (atom, list, tuple, etc.) and returns a string representation of it.
Determines if an object or an activity is public.
Takes a map or keyword list, and returns a map with any atom keys converted to string keys. It can optionally do so recursively.
Functions
Takes a string and returns true if it is a valid UUID (Universally Unique Identifier)
conditionally update a map
Handles multiple cases where the input value is of a different type (atom, list, tuple, etc.) and returns a string representation of it.
Determines if an object or an activity is public.
Takes a map or keyword list, and returns a map with any atom keys converted to string keys. It can optionally do so recursively.