mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 23:11:13 +00:00
Fix federation of unreblog activity
This commit is contained in:
parent
c5dc7e6e31
commit
4b9f2ab526
|
@ -144,6 +144,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
with %Activity{} = activity <- get_existing_announce(actor.ap_id, object),
|
||||
unannounce_data <- make_unannounce_data(actor, object),
|
||||
{:ok, unannounce_activity} <- insert(unannounce_data, local),
|
||||
:ok <- maybe_federate(activity),
|
||||
{:ok, _activity} <- Repo.delete(activity),
|
||||
{:ok, object} <- remove_announce_from_object(activity, object) do
|
||||
{:ok, unannounce_activity, activity, object}
|
||||
|
|
Loading…
Reference in a new issue