From 44586f2967cf035f47cb63d9c74f0bb4c9b3ddb8 Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 18 Feb 2018 15:20:03 +0100 Subject: [PATCH] ActivityPub: Fallback for unhandled outgoing activities. --- lib/pleroma/web/activity_pub/transmogrifier.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index fc04cc9a1..076bd2ea8 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -114,7 +114,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do {:ok, data} end - def prepare_outgoing(%{"type" => type} = data) when type in ["Follow", "Accept", "Like", "Announce"] do + def prepare_outgoing(%{"type" => type} = data) do data = data |> Map.put("@context", "https://www.w3.org/ns/activitystreams") -- 2.45.2