projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54f6628
)
Match proper number of values from unannounce
author
Francis Dinh
<normandy@firemail.cc>
Wed, 9 May 2018 04:04:14 +0000
(
00:04
-0400)
committer
Francis Dinh
<normandy@firemail.cc>
Wed, 9 May 2018 04:04:14 +0000
(
00:04
-0400)
lib/pleroma/web/activity_pub/transmogrifier.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/transmogrifier.ex
b/lib/pleroma/web/activity_pub/transmogrifier.ex
index f8fb79ac07aa0da1f549a7b0bf5aa358f906609e..586fe2eb2567bb8e576a03aa9c352c6682ec203c 100644
(file)
--- a/
lib/pleroma/web/activity_pub/transmogrifier.ex
+++ b/
lib/pleroma/web/activity_pub/transmogrifier.ex
@@
-231,7
+231,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier do
with %User{} = actor <- User.get_or_fetch_by_ap_id(actor),
{:ok, object} <-
get_obj_helper(object_id) || ActivityPub.fetch_object_from_id(object_id),
- {:ok, activity} <- ActivityPub.unannounce(actor, object, id, false) do
+ {:ok, activity
, _, _
} <- ActivityPub.unannounce(actor, object, id, false) do
{:ok, activity}
else
e -> :error