View Source Bonfire.Social.Acts.AntiSpam (Bonfire v0.9.11-social-beta.6)

An Act (as specified by Bonfire.Epics) that marks the sensitivity level of a object (eg. post) or changeset.

Act Options:

  • on - key in assigns to find the object, default: :post
  • current_user - self explanatory

Summary

Functions

all_text_content(attrs, changeset)

check!(changeset, attrs, context)

run(epic, act)

spam?(changeset, attrs, context)