projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b12a7
)
ActivityPub: Implement outgoing likes.
author
lain
<lain@soykaf.club>
Sat, 17 Feb 2018 19:22:14 +0000
(20:22 +0100)
committer
lain
<lain@soykaf.club>
Sat, 17 Feb 2018 19:22:14 +0000
(20:22 +0100)
lib/pleroma/web/activity_pub/transmogrifier.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/transmogrifier.ex
b/lib/pleroma/web/activity_pub/transmogrifier.ex
index 82fcf0898af660e64b8fa75e36dea14b98bc14c4..b5a126cb6ff2234196e029c9ae8d85904d76f56c 100644
(file)
--- a/
lib/pleroma/web/activity_pub/transmogrifier.ex
+++ b/
lib/pleroma/web/activity_pub/transmogrifier.ex
@@
-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")