diff options
author | Francis Dinh <normandy@firemail.cc> | 2018-05-19 21:34:30 -0400 |
---|---|---|
committer | Francis Dinh <normandy@firemail.cc> | 2018-05-19 21:34:30 -0400 |
commit | 3b706ea493cbb3ee1202fba96d3c2e509c07fb64 (patch) | |
tree | 383ed9348109a345e41062274cd1250b559c2508 /lib | |
parent | 1e43de0f86ea632a313f9bf7434183a6db38f0b6 (diff) | |
download | pleroma-3b706ea493cbb3ee1202fba96d3c2e509c07fb64.tar.gz |
Remove handler for incoming undos with object references
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/transmogrifier.ex | 7 |
1 files changed, 0 insertions, 7 deletions
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 |