One more fix.

This commit is contained in:
lain 2018-02-25 22:20:38 +01:00
parent 8c712b3198
commit 0d69bbc1fb

View File

@ -31,8 +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["context"])
|> Map.put("context", replied_object.data["context"])
|> Map.put("conversation", replied_object.data["context"] || object["conversation"])
|> Map.put("context", replied_object.data["context"] || object["conversation"])
e ->
Logger.error("Couldn't fetch #{object["inReplyTo"]} #{inspect(e)}")
object