Conversation: Add accounts to output.

This commit is contained in:
lain 2019-04-15 22:28:42 +02:00
commit 76999c73a7
5 changed files with 23 additions and 3 deletions

View file

@ -13,6 +13,7 @@ defmodule Pleroma.Conversation do
# This is the context ap id.
field(:ap_id, :string)
has_many(:participations, Participation)
has_many(:users, through: [:participations, :user])
timestamps()
end