X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Factivity.ex;h=a8154859a7f81429eac2b293c2a32cd44f8a34f9;hb=2757682894412451f01134aa37d55e0f1f1dc377;hp=a35ccc9b415cff3ab73cb21c8f852b55a9cccdc1;hpb=f1d27a5fbbe547a78f835bd65b43a652004d708e;p=akkoma diff --git a/lib/pleroma/activity.ex b/lib/pleroma/activity.ex index a35ccc9b4..a8154859a 100644 --- a/lib/pleroma/activity.ex +++ b/lib/pleroma/activity.ex @@ -7,7 +7,8 @@ defmodule Pleroma.Activity do field :data, :map field :local, :boolean, default: true field :actor, :string - has_many :notifications, Notification + field :recipients, {:array, :string} + has_many :notifications, Notification, on_delete: :delete_all timestamps() end