Ostatus DeleteHandler: Fix for new option format.

This commit is contained in:
lain 2019-10-11 12:53:09 +02:00
parent cb8492962e
commit 422aa6befe

View File

@ -11,7 +11,7 @@ defmodule Pleroma.Web.OStatus.DeleteHandler do
def handle_delete(entry, _doc \\ nil) do
with id <- XML.string_from_xpath("//id", entry),
%Object{} = object <- Object.normalize(id),
{:ok, delete} <- ActivityPub.delete(object, false) do
{:ok, delete} <- ActivityPub.delete(object, local: false) do
delete
end
end