View Source Bonfire.Social.LivePush (Bonfire v0.9.10-classic-beta.169)

Handles pushing activities (via PubSub and/or email) to active feeds and notifications

Summary

Functions

Sends a notification about an activity to a list of users, excluding the author/subject

Receives an activity with a nested object, or vice versa, uses PubSub to pushes to feeds and optionally notifications

Receives an activity and object, uses PubSub to pushes to feeds and optionally notifications, and returns an Activity.

Functions

Link to this function

hide_activity(feed_id, activity_id)

View Source
Link to this function

notify(subject, verb, object, opts)

View Source
Link to this function

notify_of_message(subject, verb, object, users)

View Source
Link to this function

notify_users(subject, verb, object, users)

View Source

Sends a notification about an activity to a list of users, excluding the author/subject

Link to this function

prepare_activity(activity, opts \\ [])

View Source
Link to this function

push_activity(to_feeds, activity, opts \\ [])

View Source

Receives an activity with a nested object, or vice versa, uses PubSub to pushes to feeds and optionally notifications

Link to this function

push_activity_object(to_notify, parent_object, object, opts)

View Source

Receives an activity and object, uses PubSub to pushes to feeds and optionally notifications, and returns an Activity.