Rename make_unannounce_data helper to make_undo_data
This makes it a bit more easier to adapt for unlikes as well in the future.
This commit is contained in:
parent
f0798440de
commit
c649ca8958
2 changed files with 3 additions and 3 deletions
|
|
@ -279,9 +279,9 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
end
|
||||
|
||||
@doc """
|
||||
Make unannounce activity data for the given actor and object
|
||||
Make undo activity data for the given actor and object
|
||||
"""
|
||||
def make_unannounce_data(
|
||||
def make_undo_data(
|
||||
%User{ap_id: ap_id} = user,
|
||||
%Activity{data: %{"id" => id, "context" => context}} = activity
|
||||
) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue