oof
authorrinpatch <rinpatch@sdf.org>
Wed, 17 Apr 2019 11:55:26 +0000 (14:55 +0300)
committerrinpatch <rinpatch@sdf.org>
Wed, 17 Apr 2019 11:55:26 +0000 (14:55 +0300)
lib/pleroma/web/common_api/utils.ex

index 50a72aee588b967e92a0a396dbbfd0896960b442..25f498fcb22de11d79d121b501bf1897d64339b1 100644 (file)
@@ -226,7 +226,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
     }
 
     if in_reply_to do
-      in_reply_to_object = Object.normalize(inReplyTo.data["object"])
+      in_reply_to_object = Object.normalize(in_reply_to.data["object"])
 
       object
       |> Map.put("inReplyTo", in_reply_to_object.data["id"])