Add recipients field to activities.
Also do some very basic checks for AP message insertion.
This commit is contained in:
parent
888ec9e579
commit
4a13b84887
6 changed files with 56 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ defmodule Pleroma.Activity do
|
|||
field :data, :map
|
||||
field :local, :boolean, default: true
|
||||
field :actor, :string
|
||||
field :recipients, {:array, :string}
|
||||
has_many :notifications, Notification, on_delete: :delete_all
|
||||
|
||||
timestamps()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue