Use original status id instead of announce id
authorFrancis Dinh <normandy@firemail.cc>
Sun, 13 May 2018 07:42:31 +0000 (03:42 -0400)
committerFrancis Dinh <normandy@firemail.cc>
Sun, 13 May 2018 07:42:31 +0000 (03:42 -0400)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 586fe2eb2567bb8e576a03aa9c352c6682ec203c..7f12f4489232f9412944cab16a348b0e69d51cf8 100644 (file)
@@ -223,7 +223,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
   def handle_incoming(
         %{
           "type" => "Undo",
-          "object" => %{"type" => "Announce", "id" => object_id},
+          "object" => %{"type" => "Announce", "object" => object_id},
           "actor" => actor,
           "id" => id
         } = data