Add User.Info.email_notifications
[akkoma] / lib / pleroma / activity.ex
index bc3f8caba55884ad236708300afce2c7fcff51bc..ab8861b277b7683660e6ca031dd8f69db664522c 100644 (file)
@@ -31,7 +31,7 @@ defmodule Pleroma.Activity do
     field(:data, :map)
     field(:local, :boolean, default: true)
     field(:actor, :string)
-    field(:recipients, {:array, :string})
+    field(:recipients, {:array, :string}, default: [])
     has_many(:notifications, Notification, on_delete: :delete_all)
 
     # Attention: this is a fake relation, don't try to preload it blindly and expect it to work!