From: Francis Dinh Date: Sun, 20 May 2018 01:34:30 +0000 (-0400) Subject: Remove handler for incoming undos with object references X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3b706ea493cbb3ee1202fba96d3c2e509c07fb64;p=akkoma Remove handler for incoming undos with object references --- diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index fe0294c5c..887ffe2d0 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -259,13 +259,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do end end - def handle_incoming(%{"type" => "Undo", "object" => object_id} = data) do - object = Object.get_by_ap_id(object_id).data - data = Map.put(data, "object", object) - - handle_incoming(data) - end - def handle_incoming( %{"type" => "Block", "object" => blocked, "actor" => blocker, "id" => id} = data ) do