View Source Bonfire.Social.Threads (bonfire_umbrella v0.9.6-classic-beta.12)
Summary
Functions
Handles casting related to the reply and threading. If it's not a reply or the user is not permitted to reply to the thing, a new thread will be created.
Count participants in a thread (depending on user's boundaries)
List participants in a thread (depending on user's boundaries)
Group per-thread
Returns {:ok, reply}
or {:error, reason}
, where reason
may be
List participants of an activity or thread (depending on user's boundaries)
re-order distinct threads after DISTINCT ON ordered them by thread_id - Note: does not support pagination
re-order distinct threads after DISTINCT ON ordered them by thread_id - Note: this results in (Ecto.QueryError) cannot preload associations in subquery in query
Callback implementation for Bonfire.Common.QueryModule.schema_module/0
.
Functions
Handles casting related to the reply and threading. If it's not a reply or the user is not permitted to reply to the thing, a new thread will be created.
Count participants in a thread (depending on user's boundaries)
List participants in a thread (depending on user's boundaries)
Group per-thread
Returns {:ok, reply}
or {:error, reason}
, where reason
may be:
:not_found
- we could not find the object you are replying to.:not_permitted
- you do not have permission to reply to this.
list_participants(activity_or_object, thread_or_object_id \\ nil, opts \\ [])
View SourceList participants of an activity or thread (depending on user's boundaries)
re-order distinct threads after DISTINCT ON ordered them by thread_id - Note: does not support pagination
re-order distinct threads after DISTINCT ON ordered them by thread_id - Note: this results in (Ecto.QueryError) cannot preload associations in subquery in query
Callback implementation for Bonfire.Common.QueryModule.schema_module/0
.