View Source Bonfire.Boundaries.Blocks (bonfire_umbrella v0.9.6-classic-beta.12)

Summary

Functions

Link to this function

ap_receive_activity(blocker, activity, blocked)

View Source
Link to this function

block(user_or_instance_to_block, block_type \\ nil, scope)

View Source
Link to this function

instance_wide_block(user_or_instance_to_block, block_type \\ nil)

View Source

Block something for everyone on the instance (only for admins)

Link to this function

instance_wide_circles(block_types)

View Source
Link to this function

is_blocked?(user_or_instance, block_type \\ :any, opts \\ [])

View Source

Checks if a user_or_instance is blocked Pass a block_type (eg :silence or :ghost) Pass a current_user in opts or check :instance_wide

Link to this function

remote_instance_block(display_hostname, block_type, scope)

View Source
Link to this function

unblock(user_or_instance_to_block, block_type \\ nil, scope)

View Source
Link to this function

unblock_all(block_type \\ nil, scope)

View Source
Link to this function

user_block_circles(current_user, block_type)

View Source