projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb84929
)
Ostatus DeleteHandler: Fix for new option format.
author
lain
<lain@soykaf.club>
Fri, 11 Oct 2019 10:53:09 +0000
(12:53 +0200)
committer
lain
<lain@soykaf.club>
Fri, 11 Oct 2019 10:53:09 +0000
(12:53 +0200)
lib/pleroma/web/ostatus/handlers/delete_handler.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/ostatus/handlers/delete_handler.ex
b/lib/pleroma/web/ostatus/handlers/delete_handler.ex
index b2f9f39463deab9d9324af6bd9995df55f9a1fcf..ac2dc115c33bb6165af6eaa55b777658e04baf71 100644
(file)
--- a/
lib/pleroma/web/ostatus/handlers/delete_handler.ex
+++ b/
lib/pleroma/web/ostatus/handlers/delete_handler.ex
@@
-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