activitypub transmogrifier: send @context on accept activities
authorWilliam Pitcock <nenolod@dereferenced.org>
Sun, 27 May 2018 09:09:35 +0000 (09:09 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Mon, 11 Jun 2018 22:15:53 +0000 (22:15 +0000)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 0ebb49dc02f8db2c7674559b7855cba4c351d7c1..5f5ed7b8e101bea71bbc72090f140e7689f45ec1 100644 (file)
@@ -448,6 +448,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
       data =
         data
         |> Map.put("object", object)
+        |> Map.put("@context", "https://www.w3.org/ns/activitystreams")
 
       IO.inspect(data)