commit: 83fcf42c709c390888f13a37f2d381b071a65231
parent 30eef434a9e180085ceac960e863183a11e87c7e
Author: Mark Felder <feld@feld.me>
Date: Tue, 6 Aug 2024 12:00:50 -0400
Force cc to an empty list if undefined
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex
@@ -91,7 +91,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
{:ok, data} = Transmogrifier.prepare_outgoing(activity.data)
- cc = Map.get(params, :cc)
+ cc = Map.get(params, :cc, [])
json =
data