mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Match proper number of values from unannounce
This commit is contained in:
parent
54f6628590
commit
900c735467
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue