Pleroma v1.1.9-10-g42f76306+dev Pleroma.Conversation View Source

Link to this section Summary

Functions

This is only meant to be run by a mix task. It creates conversations/participations for all direct messages in the database.

Link to this section Functions

Link to this function

bump_for_all_activities()

View Source

This is only meant to be run by a mix task. It creates conversations/participations for all direct messages in the database.

Link to this function

create_or_bump_for(activity, opts \\ [])

View Source

This will

  1. Create a conversation if there isn't one already
  2. Create a participation for all the people involved who don't have one already
  3. Bump all relevant participations to 'unread'
Link to this function

creation_cng(struct, params)

View Source
Link to this function

maybe_create_recipientships(participation, activity)

View Source