federator: remove OStatus incoming document support

This commit is contained in:
Ariadne Conill 2019-10-17 23:15:09 +00:00
commit 6a1f4c5145
2 changed files with 0 additions and 13 deletions

View file

@ -30,10 +30,6 @@ defmodule Pleroma.Web.Federator do
# Client API
def incoming_doc(doc) do
ReceiverWorker.enqueue("incoming_doc", %{"body" => doc})
end
def incoming_ap_doc(params) do
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params})
end
@ -62,11 +58,6 @@ defmodule Pleroma.Web.Federator do
end
end
def perform(:incoming_doc, doc) do
Logger.info("Got document, trying to parse")
OStatus.handle_incoming(doc)
end
def perform(:incoming_ap_doc, params) do
Logger.info("Handling incoming AP activity")