From 876ad6aa380dcc7ef4888fe31f3b7da567d6f490 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 27 May 2018 09:09:35 +0000 Subject: [PATCH] activitypub transmogrifier: send @context on accept activities --- lib/pleroma/web/activity_pub/transmogrifier.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 0ebb49dc0..5f5ed7b8e 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -448,6 +448,7 @@ def prepare_outgoing(%{"type" => "Accept"} = data) do data = data |> Map.put("object", object) + |> Map.put("@context", "https://www.w3.org/ns/activitystreams") IO.inspect(data)