activity: add recipients_to and recipients_cc fields

This commit is contained in:
William Pitcock 2018-08-29 08:37:36 +00:00
commit 81673b8136
3 changed files with 31 additions and 5 deletions

View file

@ -8,6 +8,8 @@ defmodule Pleroma.Activity do
field(:local, :boolean, default: true)
field(:actor, :string)
field(:recipients, {:array, :string})
field(:recipients_to, {:array, :string})
field(:recipients_cc, {:array, :string})
has_many(:notifications, Notification, on_delete: :delete_all)
timestamps()