ActivityPub: Implement outgoing likes.
This commit is contained in:
@@ -96,7 +96,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
||||
{:ok, data}
|
||||
end
|
||||
|
||||
def prepare_outgoing(%{"type" => type} = data) when type in ["Follow", "Accept"] do
|
||||
def prepare_outgoing(%{"type" => type} = data) when type in ["Follow", "Accept", "Like"] do
|
||||
data = data
|
||||
|> Map.put("@context", "https://www.w3.org/ns/activitystreams")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user