View Source Bonfire.Social.LivePush (bonfire v0.3.5-classic-beta.4)

Link to this section 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.

Link to this section Functions

Link to this function

notify(activity, feed_ids)

View Source
Link to this function

notify(subject, verb, object, feed_ids)

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(feed_ids, 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(feed_ids, parent_object, object, opts)

View Source

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