projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b76de1e
)
Set conversation to parent conversation.
author
lain
<lain@soykaf.club>
Sun, 25 Feb 2018 12:35:08 +0000
(13:35 +0100)
committer
lain
<lain@soykaf.club>
Sun, 25 Feb 2018 12:35:08 +0000
(13:35 +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 464842f6902565fa246f0df20614dba238794a1d..6714319fb324d66a2ad3ddcbd3406c440908bbea 100644
(file)
--- a/
lib/pleroma/web/activity_pub/transmogrifier.ex
+++ b/
lib/pleroma/web/activity_pub/transmogrifier.ex
@@
-31,6
+31,8
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|> Map.put("inReplyTo", replied_object.data["id"])
|> Map.put("inReplyToAtomUri", object["inReplyToAtomUri"] || in_reply_to_id)
|> Map.put("inReplyToStatusId", activity.id)
+ |> Map.put("conversation", replied_object.data["conversation"])
+ |> Map.put("context", replied_object.data["conversation"])
e ->
Logger.error("Couldn't fetch #{object["inReplyTo"]} #{inspect(e)}")
object