forked from mirrors/akkoma
ActivityPub: Fallback for unhandled outgoing activities.
This commit is contained in:
parent
2997fe1ba9
commit
44586f2967
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue