Set conversation to parent conversation.
authorlain <lain@soykaf.club>
Sun, 25 Feb 2018 12:35:08 +0000 (13:35 +0100)
committerlain <lain@soykaf.club>
Sun, 25 Feb 2018 12:35:08 +0000 (13:35 +0100)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 464842f6902565fa246f0df20614dba238794a1d..6714319fb324d66a2ad3ddcbd3406c440908bbea 100644 (file)
@@ -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