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

Handles pushing activities (via PubSub) 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(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.